{"cve":"CVE-2022-24836","nvd":{"published":"2022-04-11T22:15:07.347","modified":"2026-06-17T04:32:37.603","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333","CWE-400"],"references":["http://seclists.org/fulldisclosure/2022/Dec/23","https://github.com/sparklemotion/nokogiri/commit/e444525ef1634b675cd1cf52d39f4320ef0aecfd","https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghw8","https://lists.debian.org/debian-lts-announce/2022/05/msg00013.html","https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html"],"products":["apple:macos","debian:debian_linux","fedoraproject:fedora","nokogiri:nokogiri"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-24836","score":0.03519,"percentile":0.89225,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-crjr-9rc5-ghw8","url":"https://osv.dev/vulnerability/GHSA-crjr-9rc5-ghw8","summary":"Nokogiri Inefficient Regular Expression Complexity","modified":"2024-02-16T08:26:57.925644Z","packages":[{"ecosystem":"RubyGems","name":"nokogiri","purl":"pkg:gem/nokogiri","ranges":["<1.13.4"],"fixed":["1.13.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}