UBUNTU-CVE-2024-21501

Source
https://ubuntu.com/security/CVE-2024-21501
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21501.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-21501
Related
Published
2024-02-24T05:15:00Z
Modified
2025-06-02T17:24:40Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server.

References

Affected packages

Ubuntu:22.04:LTS / node-sanitize-html

Package

Name
node-sanitize-html
Purl
pkg:deb/ubuntu/node-sanitize-html@2.6.1-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

2.*

2.6.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / node-sanitize-html

Package

Name
node-sanitize-html
Purl
pkg:deb/ubuntu/node-sanitize-html@2.13.0+~2.11.0-1?arch=source&distro=oracular

Affected ranges

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

Affected versions

2.*

2.8.0+~2.6.2-1
2.13.0+~2.11.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-sanitize-html

Package

Name
node-sanitize-html
Purl
pkg:deb/ubuntu/node-sanitize-html@2.8.0+~2.6.2-1?arch=source&distro=noble

Affected ranges

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

Affected versions

2.*

2.8.0+~2.6.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / node-sanitize-html

Package

Name
node-sanitize-html
Purl
pkg:deb/ubuntu/node-sanitize-html@2.14.0+~2.13.0-1?arch=source&distro=plucky

Affected ranges

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

Affected versions

2.*

2.13.0+~2.11.0-1
2.13.1+~2.13.0-1
2.14.0+~2.13.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}