Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-40642— Absent Input Validation in BinaryHttpParser in the netty incubator codec.bhttp

Quick assessment

Affected
netty netty-incubator-codec-ohttp
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

netty-incubator-codec-ohttp是Netty社区的一款应用程序。 netty-incubator-codec-ohttp 0.0.13.Final之前版本存在安全漏洞,该漏洞源于不能正确验证输入值。攻击者利用该漏洞可以完全控制从解析输出构建的HTTP请求。

CVSS 8.1 · High EPSS 0.67% · P50
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-40642

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Absent Input Validation in BinaryHttpParser in the netty incubator codec.bhttp
Source: CVE Program / CVE List V5
Vulnerability 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 lengths and calculates all of the indices, the parser casts the applicable slices of the ByteBuf to String. Finally, it passes these values into a new `DefaultBinaryHttpRequest` object where no further parsing or validation occurs. Method is partially validated while other values are not validated at all. Software that relies on netty to apply input validation for binary HTTP data may be vulnerable to various injection and protocol based attacks. This issue has been addressed in version 0.0.13.Final. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
netty-incubator-codec-ohttp 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
netty-incubator-codec-ohttp是Netty社区的一款应用程序。 netty-incubator-codec-ohttp 0.0.13.Final之前版本存在安全漏洞,该漏洞源于不能正确验证输入值。攻击者利用该漏洞可以完全控制从解析输出构建的HTTP请求。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
netty netty-incubator-codec-ohttp < 0.0.13.Final -

II. Public POCs for CVE-2024-40642

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 11617 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-40642

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-40642 (1)

Vendor Advisories for CVE-2024-40642 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-40642

No comments yet


Leave a comment