CVE-2022-24836
Inefficient Regular Expression Complexity in Nokogiri
- State
- Published
- Severity
- 7.5 High
- Published
- Apr 11, 2022
- Updated
- Sep 3, 2024
- Reserved
- Feb 10, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
nokogirisparklemotion |
|
References
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghw8
- https://github.com/sparklemotion/nokogiri/commit/e444525ef1634b675cd1cf52d39f4320ef0aecfd
- FEDORA-2022-9ed7641ce0vendor-advisory
- FEDORA-2022-132c6d7c2evendor-advisory
- FEDORA-2022-d231cb5e1fvendor-advisory
- [debian-lts-announce] 20220513 [SECURITY] [DLA 3003-1] ruby-nokogiri security updatemailing-list
- GLSA-202208-29vendor-advisory
- [debian-lts-announce] 20221012 [SECURITY] [DLA 3149-1] ruby-nokogiri security updatemailing-list
- https://support.apple.com/kb/HT213532
- 20221220 APPLE-SA-2022-12-13-4 macOS Ventura 13.1mailing-list
- https://lists.debian.org/debian-lts-announce/2024/09/msg00010.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.