CVE-2024-36121: netty netty-incubator-codec-ohttp Integer Overflow or Wraparound
Vulnerability summary
CVE-2024-36121 is a critical (CVSS 9.1) Integer Overflow or Wraparound vulnerability in netty netty-incubator-codec-ohttp. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 17.8% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 04-06-2024PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
netty-incubator-codec-ohttp is the OHTTP implementation for netty. BoringSSLAEADContext keeps track of how many OHTTP responses have been sent and uses this sequence number to calculate the appropriate nonce to use with the encryption algorithm. Unfortunately, two separate errors combine which would allow an attacker to cause the sequence number to overflow and thus the nonce to repeat.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:NDiffers
- OSV · MavenEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:NDiffers
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
0.00 pp
From 0.27% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundNetty Incubator Codec Ohttp
Maturity: poc
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-200Exposure of Sensitive Information to an Unauthorized ActorThe product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
- CWE-323Reusing a Nonce, Key Pair in EncryptionNonces should be used for the present occasion and only once.
Affected systems
Io.netty.incubator1 product
- netty-incubator-codec-ohttp≥ 0.0.3.Final, < 0.0.11.Final
Netty1 product
- netty-incubator-codec-ohttp≥ 0.0.3.Final, < 0.0.11.Final | ≥ 0.0.3, < 0.0.11
2 vendors · 2 products
References
4 links- github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-g762-h86w-8749X Refsource CONFIRMWEBExploitVendor Advisory