| Name | CVE-2021-47996 |
| Description | Nokogiri before 1.11.4 (CRuby implementation only, when the packaged/vendored libxml2 is used) bundles libxml2 2.9.10, which is affected by multiple vulnerabilities addressed in libxml2 2.9.12, including a memory leak in xmlSchemaValidateStream (CVE-2019-20388), a global buffer over-read in xmlEncodeEntitiesInternal (CVE-2020-24977), a heap-based buffer overflow (CVE-2021-3517), and an out-of-bounds read (CVE-2021-3518). Processing crafted XML documents may lead to denial of service, information disclosure, or memory corruption. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ruby-nokogiri (PTS) | bullseye | 1.11.1+dfsg-2 | fixed |
| bullseye (security) | 1.11.1+dfsg-2+deb11u1 | fixed | |
| bookworm | 1.13.10+dfsg-2 | fixed | |
| trixie | 1.18.2+dfsg-1 | fixed | |
| forky, sid | 1.19.4+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ruby-nokogiri | source | (unstable) | (not affected) |
- ruby-nokogiri <not-affected> (Debian uses the system copy of libxml)