CVE Vulnerabilities

CVE-2022-24836

Uncontrolled Resource Consumption

Published: Apr 11, 2022 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

NameVendorStart VersionEnd Version
NokogiriNokogiri*1.13.4 (excluding)
Red Hat Satellite 6.12 for RHEL 8RedHattfm-rubygem-nokogiri-0:1.13.8-1.el8sat*
Red Hat Satellite 6.12 for RHEL 8RedHattfm-rubygem-nokogiri-0:1.13.8-1.el8sat*
Ruby-nokogiriUbuntubionic*
Ruby-nokogiriUbuntuesm-apps/bionic*
Ruby-nokogiriUbuntuesm-apps/focal*
Ruby-nokogiriUbuntuesm-apps/jammy*
Ruby-nokogiriUbuntuesm-apps/xenial*
Ruby-nokogiriUbuntuesm-infra-legacy/trusty*
Ruby-nokogiriUbuntufocal*
Ruby-nokogiriUbuntuimpish*
Ruby-nokogiriUbuntujammy*
Ruby-nokogiriUbuntukinetic*
Ruby-nokogiriUbuntutrusty*
Ruby-nokogiriUbuntutrusty/esm*
Ruby-nokogiriUbuntuupstream*
Ruby-nokogiriUbuntuxenial*

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References