UBUNTU-CVE-2022-23516

Source
https://ubuntu.com/security/CVE-2022-23516
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23516.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-23516
Related
Published
2022-12-14T14:15:00Z
Modified
2024-10-15T14:09:47Z
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

Ubuntu:Pro:16.04:LTS / ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/ubuntu/ruby-loofah?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

2.*

2.0.2-1
2.0.3-1
2.0.3-2
2.0.3-2+deb9u1build0.16.04.1
2.0.3-2+deb9u2build0.16.04.1
2.0.3-2+deb9u3build0.16.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/ubuntu/ruby-loofah?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

2.*

2.0.3-2
2.2.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/ubuntu/ruby-loofah?arch=src?distro=focal

Affected ranges

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

Affected versions

2.*

2.2.3-1
2.3.1+dfsg-1
2.4.0+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/ubuntu/ruby-loofah?arch=src?distro=jammy

Affected ranges

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

Affected versions

2.*

2.12.0-1
2.13.0-1
2.13.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}