netty-incubator-codec-ohttp's BoringSSLAEADContext Repeats Nonces (netty netty-incubator-codec-ohttp)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.27 % Β· percentile 19 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-200 β Exposure of Sensitive Information to an Unauthorized Actor
- CWE-190 β Integer Overflow or Wraparound
- CWE-323 β Reusing a Nonce, Key Pair in Encryption
References
- https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-g762-h86w-8749
- 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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N | NVD Β· security-advisories@github.com (Secondary) |
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-g762-h86w-8749 β BoringSSLAEADContext in Netty Repeats Nonces
European references
- ENISA EUVD Β· EUVD-2024-2051
- GCVE Β· GCVE-0-2024-36121
Affected configurations (NVD CPE)
cpe:2.3:a:netty:netty-incubator-codec-ohttp:*:*:*:*:*:*:*:*β₯ 0.0.3 < 0.0.11
Affected products
| Product | Versions |
|---|---|
| netty Β· netty-incubator-codec-ohttp | affected >= 0.0.3.Final, < 0.0.11.Final |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |