Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-40642

8.1 · HIGH
Published Jul 18, 2024 netty CWE-20 EPSS 0.67% (49th pctl)

Overview

CVE-2024-40642 is a high-severity vulnerability affecting netty netty-incubator-codec-ohttp. It was published on July 18, 2024 and has a CVSS 3.1 base score of 8.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

The netty incubator codec.bhttp is a java language binary http parser. In affected versions the `BinaryHttpParser` class does not properly validate input values thus giving attackers almost complete control over the HTTP requests constructed from the parsed output. Attackers can abuse several issues individually to perform various injection attacks including HTTP request smuggling, desync attacks, HTTP header injections, request queue poisoning, caching attacks and Server Side Request Forgery (SSRF). Attacker could also combine several issues to create well-formed messages for other text-based protocols which may result in attacks beyond the HTTP protocol. The BinaryHttpParser class implements the readRequestHead method which performs most of the relevant parsing of the received request. The data structure prefixes values with a variable length integer value. The parsing code below first gets the lengths of the values from the prefixed variable length integer. After it has all of the l

Remediation

Check the references section for vendor advisories and patches from netty. Update netty-incubator-codec-ohttp to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
netty netty-incubator-codec-ohttp >= 0, < 0.0.13 Affected

Frequently Asked Questions

What is CVE-2024-40642?

CVE-2024-40642 is a high-severity vulnerability affecting netty netty-incubator-codec-ohttp. It was published on July 18, 2024 and has a CVSS 3.1 base score of 8.1 (HIGH).

How severe is CVE-2024-40642?

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-40642?

Check the references section for vendor advisories and patches from netty. Update netty-incubator-codec-ohttp to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-40642?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-40642 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.