CVE-2022-24836

HIGHCVSS 7.5/10EPSS 3.35%

Last modified

CVE-2022-24836 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 3.35% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
3.35%

87.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
NokogiriNokogiri< 1.13.4
FedoraprojectFedora34
FedoraprojectFedora35
FedoraprojectFedora36
DebianDebian Linux9.0
DebianDebian Linux10.0
AppleMacos>= 13.0, < 13.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2022-24836?
CVE-2022-24836 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 3.35% probability of exploitation in the next 30 days.
How do I fix CVE-2022-24836?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-24836?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST