CVE-2021-45931
MEDIUMCVSS 6.5/10EPSS 1.78%
Last modified
CVE-2021-45931 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. HarfBuzz 2.9.0 has an out-of-bounds write in hb_bit_set_invertible_t::set (called from hb_sparseset_t<hb_bit_set_invertible_t>::set and hb_set_copy).. EPSS estimates a 1.78% chance of exploitation in the next 30 days.
Description
HarfBuzz 2.9.0 has an out-of-bounds write in hb_bit_set_invertible_t::set (called from hb_sparseset_t<hb_bit_set_invertible_t>::set and hb_set_copy).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Harfbuzz Project | Harfbuzz | 2.9.0 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37425Exploit, Issue Tracking, Third Party Advisory
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/harfbuzz/OSV-2021-1159.yamlExploit, Third Party Advisory
- https://github.com/harfbuzz/harfbuzz/commit/d3e09bf4654fe5478b6dbf2b26ebab6271317d81Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202209-11Third Party Advisory
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37425Exploit, Issue Tracking, Third Party Advisory
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/harfbuzz/OSV-2021-1159.yamlExploit, Third Party Advisory
- https://github.com/harfbuzz/harfbuzz/commit/d3e09bf4654fe5478b6dbf2b26ebab6271317d81Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202209-11Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-45931?
HarfBuzz 2.9.0 has an out-of-bounds write in hb_bit_set_invertible_t::set (called from hb_sparseset_t<hb_bit_set_invertible_t>::set and hb_set_copy).
How severe is CVE-2021-45931?
CVE-2021-45931 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 1.78% probability of exploitation in the next 30 days.
How do I fix CVE-2021-45931?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-45925Observable discrepancies in the login process allow an attac…5.3
- CVE-2021-45926MDB Tools (aka mdbtools) 0.9.2 has a stack-based buffer over…7.8
- CVE-2021-45927MDB Tools (aka mdbtools) 0.9.2 has a stack-based buffer over…7.8
- CVE-2021-45928libjxl b02d6b9, as used in libvips 8.11 through 8.11.2 and o…5.5
- CVE-2021-45929Wasm3 0.5.0 has an out-of-bounds write in CompileBlock (call…5.5
- CVE-2021-45930Qt SVG in Qt 5.0.0 through 5.15.2 and 6.0.0 through 6.2.1 ha…5.5
- CVE-2021-45932wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow (4 byt…5.5
- CVE-2021-45933wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow (8 byt…5.5
- CVE-2021-45934wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in Mqt…5.5
- CVE-2021-45935Grok 9.5.0 has a heap-based buffer overflow in openhtj2k::T1…5.5
- CVE-2021-45936wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in Mqt…5.5
- CVE-2021-45937wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in Mqt…5.5
Are you affected by CVE-2021-45931?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
