CVE-2024-22020: Bypass network import restriction via data URL

Published Jul 8, 2024
·
Updated

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.

Other sources

Node.js could allow a remote attacker to execute arbitrary code on the system. By embedding non-network imports in data URLs, an attacker could exploit this vulnerability to bypass network import restrictions and execute arbitrary code on the system.

— IBM

Affected Software

16 affected componentsFixes available
IBM Controller<=11.1.0
IBM Controller<=11.0.0 - 11.0.1
Node.js Node.js>=18.0.0<18.20.4, >=20.0.0<20.15.1, >=22.0.0<22.4.1
18.20.420.15.122.4.1
Node.js Node.js>=18.0.0<18.20.4
18.20.4
Node.js Node.js>=20.0.0<20.15.1
20.15.1
Node.js Node.js>=22.0.0<22.4.1
22.4.1
alpine/nodejs<20.15.1-r0
20.15.1-r0
alpine/nodejs<20.15.1-r0
20.15.1-r0
alpine/nodejs<20.15.1-r0
20.15.1-r0
alpine/nodejs<20.15.1-r0
20.15.1-r0
alpine/nodejs<20.15.1-r0
20.15.1-r0
alpine/nodejs<20.15.1-r0
20.15.1-r0
debian/nodejs<18.20.4+dfsg-1~deb12u1
18.20.4+dfsg-1~deb12u1
debian/nodejs<20.15.1+dfsg-1
20.15.1+dfsg-1
debian/nodejs<20.15.1+dfsg-1
20.15.1+dfsg-1
debian/nodejs
18.20.4+dfsg-1~deb12u218.20.4+dfsg-1~deb12u320.19.2+dfsg-1+deb13u220.19.2+dfsg-1+deb13u324.21.0+dfsg+~cs24.13.4-124.22.2+dfsg+~cs24.19.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.20.4Fixed in 20.15.1Fixed in 22.4.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.20.4
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.15.1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.4.1
  5. Upgrade

    Upgrade alpine/nodejs to a version that resolves this vulnerability.

    Fixed in 20.15.1-r0
  6. Upgrade

    Upgrade debian/nodejs to a version that resolves this vulnerability.

    Fixed in 18.20.4+dfsg-1~deb12u1
  7. Upgrade

    Upgrade debian/nodejs to a version that resolves this vulnerability.

    Fixed in 20.15.1+dfsg-1
  8. Upgrade

    Upgrade debian/nodejs to a version that resolves this vulnerability.

    Fixed in 18.20.4+dfsg-1~deb12u2Fixed in 18.20.4+dfsg-1~deb12u3Fixed in 20.19.2+dfsg-1+deb13u2Fixed in 20.19.2+dfsg-1+deb13u3Fixed in 24.21.0+dfsg+~cs24.13.4-1Fixed in 24.22.2+dfsg+~cs24.19.2-1
  9. Configuration

    Forbid data URLs in network imports to mitigate the vulnerability.

    Node.js network imports data URLs = forbidden

Event History

Jul 8, 2024
CVE Published
via Node.js·03:00 AM
Data Sourced
via Node.js·03:00 AM
DescriptionSeverityAffected Software
Jul 9, 2024
CVE Published
via MITRE·01:07 AM
Data Sourced
via MITRE·01:07 AM
DescriptionSeverity
Data Sourced
via NVD·02:15 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·02:15 AM
DescriptionSeverityAffected Software
Data Sourced
via Red Hat·02:20 AM
DescriptionSeverityAffected Software
Feb 28, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-22020?

CVE-2024-22020 is considered a high-severity vulnerability due to its potential to allow attackers to execute arbitrary code.

2

How do I fix CVE-2024-22020?

To fix CVE-2024-22020, ensure data URLs are forbidden in network imports in affected software versions.

3

Which versions of IBM Planning Analytics are affected by CVE-2024-22020?

CVE-2024-22020 affects IBM Planning Analytics versions up to and including 2.1 and 2.0.

4

Can CVE-2024-22020 be exploited on all platforms?

Yes, CVE-2024-22020 has been verified to be exploitable on various platforms.

5

What is the main impact of CVE-2024-22020?

The main impact of CVE-2024-22020 is the compromise of system security through the execution of arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203