Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nokogiri | Nokogiri | < 1.13.4 |
| Fedoraproject | Fedora | 34 |
| Debian | Debian Linux | 9.0 |
| Apple | Macos | >= 13.0, < 13.1 |
Related Weaknesses (CWE)
References
- http://seclists.org/fulldisclosure/2022/Dec/23Mailing ListThird Party Advisory
- https://github.com/sparklemotion/nokogiri/commit/e444525ef1634b675cd1cf52d39f432PatchThird Party Advisory
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghwThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00013.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00018.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/202208-29Third Party Advisory
- https://support.apple.com/kb/HT213532Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Dec/23Mailing ListThird Party Advisory
- https://github.com/sparklemotion/nokogiri/commit/e444525ef1634b675cd1cf52d39f432PatchThird Party Advisory
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghwThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00013.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00018.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2022-24836?
CVE-2022-24836 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 encodi...
How severe is CVE-2022-24836?
CVE-2022-24836 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-24836?
Check the references section above for vendor advisories and patch information. Affected products include: Nokogiri Nokogiri, Fedoraproject Fedora, Debian Debian Linux, Apple Macos.