Vulnerabilities · 2022 · Nokogiri
CVE-2022-24836
Nokogiri vulnerability
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.
Affected products
Nokogiri, Fedora, Debian Linux, Macos. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nokogiri runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sparklemotion/nokogiri/commit/e444525ef1634b675cd1cf52d39f4320ef0aecfd · Patch
- seclists.org/fulldisclosure/2022/Dec/23 · Third Party Advisory
- github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghw8 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/05/msg00013.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/10/msg00018.html · Third Party Advisory
- security.gentoo.org/glsa/202208-29 · Third Party Advisory
- support.apple.com/kb/HT213532 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6
- nvd.nist.gov/vuln/detail/CVE-2022-24836
- cve.org/CVERecord?id=CVE-2022-24836
More vulnerabilities in Nokogiri products
CVE-2022-29181CVE-2022-23476CVE-2021-41098CVE-2020-26247CVE-2019-5477CVE-2018-25032CVE-2013-6461CVE-2013-6460All 10
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.