CVE-2021-45931

NameCVE-2021-45931
DescriptionHarfBuzz 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).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
harfbuzz (PTS)buster2.3.1-1fixed
bullseye2.7.4-1fixed
bookworm6.0.0+dfsg-3fixed
sid, trixie8.3.0-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
harfbuzzsource(unstable)(not affected)

Notes

- harfbuzz <not-affected> (Vulnerable code introduced later)
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37425
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/harfbuzz/OSV-2021-1159.yaml
https://github.com/harfbuzz/harfbuzz/commit/d3e09bf4654fe5478b6dbf2b26ebab6271317d81 (2.9.1)
introduced in https://github.com/harfbuzz/harfbuzz/commit/f0c3804fa292ef3be41cc8d1cdea8239f00e2295 (2.9.1)
vulnerable code not present in 2.9.0 git tag, error in CVE description

Search for package or bug name: Reporting problems