netty/netty-incubator-codec-ohttp · Security
netty-incubator-codec-ohttp's HPKEContext operations may produce empty byte[] on failures
- GHSA ID
- GHSA-f659-372h-6x3x
- CVE ID
- CVE-2026-41207
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Description
HKDF_expand: returns non-NULL on failure. The byte[] is filled with zeros and has no way to distinguish success from failure. Since this output is used as HKDF key material for the response AEAD, a failure silently produces an all-zero key.
When EVP_HPKE_CTX_export fails it also returns an empty byte[] array filled with zeros. This byte[] feeds directly into OHttpCrypto.createResponseAEAD(...). A silent all-zero export secret would produce a deterministic, attacker-predictable AEAD key.
CWEs
- CWE-330 · Use of Insufficiently Random Values