Vulnerability · Published Jun 4, 2024 · Assigned by GitHub_M
CVE-2024-36121 netty-incubator-codec-ohttp's BoringSSLAEADContext Repeats Nonces
Medium 5.9
In plain English
A medium-severity information exposure in netty-incubator-codec-ohttp from netty. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.netty.incubator:netty-incubator-codec-ohttp | 0.0.11.Final | GHSA-g762-h86w-8749 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| netty | netty-incubator-codec-ohttp | >= 0.0.3.Final, < 0.0.11.Final |
Weakness: CWE-200, CWE-190, CWE-323 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
References
- https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-g762-h86w-8749 x_refsource_CONFIRM
- https://github.com/netty/netty-incubator-codec-ohttp/blob/1ddadb6473cd3be5491d114431ed4c1a9f316001/codec-ohttp-hpke-classes-boringssl/src/main/java/io/netty/incubator/codec/hpke/boringssl/BoringSSLAEADContext.java#L112-L114 x_refsource_MISC