UBUNTU-CVE-2024-22020

Source
https://ubuntu.com/security/CVE-2024-22020
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22020.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-22020
Upstream
Published
2024-07-09T02:15:00Z
Modified
2025-07-16T07:35:04.559585Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A security flaw in Node.js allows a bypass of network import restrictions. By embedding non-network imports in data URLs, an attacker can execute arbitrary code, compromising system security. Verified on various platforms, the vulnerability is mitigated by forbidding data URLs in network imports. Exploiting this flaw can violate network import security, posing a risk to developers and servers.

References

Affected packages

Ubuntu:24.04:LTS / nodejs

Package

Name
nodejs
Purl
pkg:deb/ubuntu/nodejs@18.19.1+dfsg-6ubuntu5?arch=source&distro=noble

Affected ranges

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

Affected versions

18.*

18.13.0+dfsg1-1ubuntu2
18.19.1+dfsg-2ubuntu4
18.19.1+dfsg-6ubuntu1
18.19.1+dfsg-6ubuntu2
18.19.1+dfsg-6ubuntu5

Ubuntu:25.04 / nodejs

Package

Name
nodejs
Purl
pkg:deb/ubuntu/nodejs@20.16.0+dfsg-1ubuntu1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
20.16.0+dfsg-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libnode-dev",
            "binary_version": "20.16.0+dfsg-1ubuntu1"
        },
        {
            "binary_name": "libnode115",
            "binary_version": "20.16.0+dfsg-1ubuntu1"
        },
        {
            "binary_name": "libnode115-dbgsym",
            "binary_version": "20.16.0+dfsg-1ubuntu1"
        },
        {
            "binary_name": "nodejs",
            "binary_version": "20.16.0+dfsg-1ubuntu1"
        },
        {
            "binary_name": "nodejs-dbgsym",
            "binary_version": "20.16.0+dfsg-1ubuntu1"
        },
        {
            "binary_name": "nodejs-doc",
            "binary_version": "20.16.0+dfsg-1ubuntu1"
        }
    ]
}