CVE-2022-24836

high
Published 2022-04-11 · Modified 2024-02-16
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v2
VIR risk
8.0

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-24836

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-24836.html

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2022:8506

OS impact

OSVersionStatusFixed in
rockylinux rocky8fixed
suse slesaffected
debian debianbookwormfixed1.13.5+dfsg-1
debian debianbullseyefixed1.11.1+dfsg-2+deb11u1
debian debianforkyfixed1.13.5+dfsg-1
debian debiansidfixed1.13.5+dfsg-1
debian debiantrixiefixed1.13.5+dfsg-1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsnokogiri<>= 1.13.4>= 1.13.4
ruby RubyGemsnokogiri<1.13.41.13.4

References

Verify integrity in audit chain (admin only). AS-IS.