| Name | CVE-2022-24836 |
| Description | Nokogiri is an open source XML and HTML library for Ruby. Nokogiri `< v1.13.4` contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to detect encoding in HTML documents. Users are advised to upgrade to Nokogiri `>= 1.13.4`. There are no known workarounds for this issue. |
| 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) |
| References | DLA-3003-1, DLA-3149-1, DLA-3868-1 |
| Debian Bugs | 1009787 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ruby-nokogiri (PTS) | bullseye | 1.11.1+dfsg-2 | vulnerable |
| 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.18.10+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 | stretch | 1.6.8.1-1+deb9u2 | DLA-3003-1 | ||
| ruby-nokogiri | source | buster | 1.10.0+dfsg1-2+deb10u1 | DLA-3149-1 | ||
| ruby-nokogiri | source | bullseye | 1.11.1+dfsg-2+deb11u1 | DLA-3868-1 | ||
| ruby-nokogiri | source | (unstable) | 1.13.5+dfsg-1 | 1009787 |
https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghw8
https://github.com/sparklemotion/nokogiri/commit/e444525ef1634b675cd1cf52d39f4320ef0aecfd