Vulnerability Details : CVE-2022-24836
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.
Products affected by CVE-2022-24836
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-24836
1.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 77 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-24836
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2022-24836
-
The product does not properly control the allocation and maintenance of a limited resource.Assigned by: security-advisories@github.com (Secondary)
-
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2022-24836
-
https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html
[SECURITY] [DLA 3149-1] ruby-nokogiri security updateMailing List;Third Party Advisory
-
https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghw8
Inefficient Regular Expression Complexity in Nokogiri · Advisory · sparklemotion/nokogiri · GitHubThird Party Advisory
-
http://seclists.org/fulldisclosure/2022/Dec/23
Full Disclosure: APPLE-SA-2022-12-13-4 macOS Ventura 13.1Mailing List;Third Party Advisory
-
https://security.gentoo.org/glsa/202208-29
Nokogiri: Multiple Vulnerabilities (GLSA 202208-29) — Gentoo securityThird Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6DHCOWMA5PQTIQIMDENA7R2Y5BDYAIYM/
[SECURITY] Fedora 36 Update: rubygem-nokogiri-1.13.4-1.fc36 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://github.com/sparklemotion/nokogiri/commit/e444525ef1634b675cd1cf52d39f4320ef0aecfd
fix(perf): HTML4::EncodingReader detection · sparklemotion/nokogiri@e444525 · GitHubPatch;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2022/05/msg00013.html
[SECURITY] [DLA 3003-1] ruby-nokogiri security updateMailing List;Third Party Advisory
-
https://support.apple.com/kb/HT213532
About the security content of macOS Ventura 13.1 - Apple SupportThird Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XMDCWRQXJQ3TFSETPCEFMQ6RR6ME5UA3/
[SECURITY] Fedora 34 Update: rubygem-nokogiri-1.11.7-2.fc34 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OUPLBUZVM4WPFSXBEP2JS3R6LMKRTLFC/
[SECURITY] Fedora 35 Update: rubygem-nokogiri-1.13.1-2.fc35 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
Jump to