Code execution or crash via oversized HKDF output
Published Jan 8, 2020 · Updated Aug 4, 2024
Stack buffer overflow in Mozilla NSS allows remote attackers to execute code or crash affected Firefox, Firefox ESR, and Thunderbird releases. NSC_DeriveKey passes an oversized HKDF-SHA1 result through HMAC_Finish to SHA1_End, which writes four HMAC bytes beyond the 576-byte key_block stack buffer. A user must process attacker-controlled content that invokes WebCrypto HKDF; successful exploitation affects the client process, and the published proof of concept demonstrates a crash under AddressSanitizer.
Summary
What happened
Stack buffer overflow in Mozilla NSS allows remote attackers to execute code or crash affected Firefox, Firefox ESR, and Thunderbird releases. NSC_DeriveKey passes an oversized HKDF-SHA1 result through HMAC_Finish to SHA1_End, which writes four HMAC bytes beyond the 576-byte key_block stack buffer. A user must process attacker-controlled content that invokes WebCrypto HKDF; successful exploitation affects the client process, and the published proof of concept demonstrates a crash under AddressSanitizer.
The record
- CVE
- CVE-2019-11759
- Published
- Jan 8, 2020
- Updated
- Aug 4, 2024
- Vendor
- Mozilla
- Product
- Firefox
- Classifications
- CWE-120, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 8, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=before 70
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Firefox WebCrypto HKDF AddressSanitizer proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo