CVE-2022-23516

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2022-23516
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-23516.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-23516
Aliases
Related
Published
2022-12-14T14:15:10Z
Modified
2024-09-11T04:42:17.450424Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.2.0, < 2.19.1 uses recursion for sanitizing CDATA sections, making it susceptible to stack exhaustion and raising a SystemStackError exception. This may lead to a denial of service through CPU resource consumption. This issue is patched in version 2.19.1. Users who are unable to upgrade may be able to mitigate this vulnerability by limiting the length of the strings that are sanitized.

References

Affected packages

Debian:11 / ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/debian/ruby-loofah?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.7.0+dfsg-1
2.9.0-1
2.10.0-1
2.12.0-1
2.13.0-1
2.13.0-2
2.18.0-1
2.19.0-1
2.19.1-1
2.20.0-1
2.21.3-1
2.21.4-1
2.22.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/debian/ruby-loofah?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.19.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/debian/ruby-loofah?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.19.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}