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, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3003-1, DLA-3149-1, DLA-3868-1, ELA-609-1 |
Debian Bugs | 1009787 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-nokogiri (PTS) | jessie, jessie (lts) | 1.6.3.1+ds-1+deb8u3 | fixed |
stretch (security), stretch (lts), stretch | 1.6.8.1-1+deb9u2 | fixed | |
buster (security), buster, buster (lts) | 1.10.0+dfsg1-2+deb10u1 | fixed | |
bullseye | 1.11.1+dfsg-2 | vulnerable | |
bullseye (security) | 1.11.1+dfsg-2+deb11u1 | fixed | |
bookworm | 1.13.10+dfsg-2 | fixed | |
sid, trixie | 1.16.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 | jessie | 1.6.3.1+ds-1+deb8u3 | ELA-609-1 | ||
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