---
title: "CVE-2024-22020"
canonical_url: "https://pkgseek.com/security/CVE-2024-22020"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2024-22020

Node.js is a software development platform for building fast and scalable network applications in the JavaScript programming language.  Security Fix(es): * nodejs: Bypass network import restriction via data URL (CVE-2024-22020) * nodejs: fs.lstat bypasses permission model (CVE-2024-22018) * nodejs: fs.fchown/fchmod bypasses permission model (CVE-2024-36137) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

CVE-2024-22020 is rated MEDIUM (6.5), with 42 indexed affected package builds across 6 distributions.

- **Severity / Score**: MEDIUM (6.5)
- **Affected builds**: 42
- **Affected distros**: 6
- **Distros with fixed_in**: Alibaba Cloud Linux, AlmaLinux, openSUSE, Oracle Linux, Red Hat Enterprise Linux, Rocky Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | nodejs | 1:14.21.3-1.0.1.al8 | 1:20.16.0-1.1.al8 |
| Alibaba Cloud Linux | 3 | nodejs-devel | 1:14.21.3-1.0.1.al8 | 1:20.16.0-1.1.al8 |
| Alibaba Cloud Linux | 3 | nodejs-docs | 1:14.21.3-1.0.1.al8 | 1:20.16.0-1.1.al8 |
| Alibaba Cloud Linux | 3 | nodejs-full-i18n | 1:14.21.3-1.0.1.al8 | 1:20.16.0-1.1.al8 |
| Alibaba Cloud Linux | 3 | npm | 1:6.14.18-1.14.21.3.1.0.1.al8 | 1:10.8.1-1.20.16.0.1.1.al8 |
| AlmaLinux | 9 | nodejs | 1:18.20.8-1.module_el9.6.0+171+c86b6ba0 | 1:20.16.0-1.module_el9.4.0+107+dbd477e4 |
| AlmaLinux | 9 | nodejs-devel | 1:18.20.8-1.module_el9.6.0+171+c86b6ba0 | 1:20.16.0-1.module_el9.4.0+107+dbd477e4 |
| AlmaLinux | 9 | nodejs-docs | 1:18.20.8-1.module_el9.6.0+171+c86b6ba0 | 1:20.16.0-1.module_el9.4.0+107+dbd477e4 |
| AlmaLinux | 9 | nodejs-full-i18n | 1:18.20.8-1.module_el9.6.0+171+c86b6ba0 | 1:20.16.0-1.module_el9.4.0+107+dbd477e4 |
| AlmaLinux | 9 | nodejs-libs | 1:16.20.2-8.el9_4 | 1:18.20.4-1.module_el9.4.0+112+bb28ff81 |
| AlmaLinux | 9 | nodejs-nodemon | 2.0.20-3.el9_2 | 3.0.1-1.module_el9.2.0+36+853e48f5 |
| AlmaLinux | 9 | npm | 1:11.20.0-1.26.12.1.2.module_el9.9.0+350+dfbd8996 | 1:18.20.4-1.module_el9.4.0+112+bb28ff81 |
| openSUSE | 15.6 | corepack20 | 20.12.1-150600.1.11 | 20.15.1-150600.3.3.2 |
| openSUSE | 15.6 | nodejs20 | 20.12.1-150600.1.11 | 20.15.1-150600.3.3.2 |
| openSUSE | 15.6 | nodejs20-devel | 20.12.1-150600.1.11 | 20.15.1-150600.3.3.2 |
| openSUSE | 15.6 | nodejs20-docs | 20.12.1-150600.1.11 | 20.15.1-150600.3.3.2 |
| openSUSE | 15.6 | npm20 | 20.12.1-150600.1.11 | 20.15.1-150600.3.3.2 |
| Oracle Linux | 8 | nodejs | 1:18.20.8-1.module+el8.10.0+90616+d5957e10 | 1:20.19.2-1.module+el8.10.0+90611+29f3ae1e |
| Oracle Linux | 8 | nodejs-devel | 1:18.20.8-1.module+el8.10.0+90616+d5957e10 | 1:20.19.2-1.module+el8.10.0+90611+29f3ae1e |
| Oracle Linux | 8 | nodejs-docs | 1:18.20.8-1.module+el8.10.0+90616+d5957e10 | 1:20.19.2-1.module+el8.10.0+90611+29f3ae1e |
| Oracle Linux | 8 | nodejs-full-i18n | 1:18.20.8-1.module+el8.10.0+90616+d5957e10 | 1:20.19.2-1.module+el8.10.0+90611+29f3ae1e |
| Oracle Linux | 8 | nodejs-nodemon | 3.0.1-1.module+el8.10.0+90605+76e4d41a | 3.0.1-1.module+el8.9.0+90082+b6a613a6 |
| Oracle Linux | 8 | nodejs-packaging | 2021.06-4.module+el8.10.0+90605+76e4d41a | 2021.06-4.module+el8.9.0+90157+ed89dc20 |
| Oracle Linux | 8 | nodejs-packaging-bundler | 2021.06-4.module+el8.10.0+90605+76e4d41a | 2021.06-4.module+el8.9.0+90157+ed89dc20 |
| Oracle Linux | 8 | npm | 1:10.8.2-1.18.20.8.1.module+el8.10.0+90616+d5957e10 | 1:10.8.2-1.20.19.2.1.module+el8.10.0+90611+29f3ae1e |
| Oracle Linux | 9 | nodejs | 1:18.20.8-1.module+el9.6.0+90614+f11b29ab | 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 |
| Oracle Linux | 9 | nodejs-devel | 1:18.20.8-1.module+el9.6.0+90614+f11b29ab | 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 |
| Oracle Linux | 9 | nodejs-docs | 1:18.20.8-1.module+el9.6.0+90614+f11b29ab | 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 |
| Oracle Linux | 9 | nodejs-full-i18n | 1:18.20.8-1.module+el9.6.0+90614+f11b29ab | 1:20.16.0-1.module+el9.4.0+90390+ec2aa9c0 |
| Oracle Linux | 9 | nodejs-nodemon | 3.0.1-1.module+el9.5.0+90487+94ea5438 | 3.0.1-1.module+el9.5.0+90514+74072e0a |
| Oracle Linux | 9 | nodejs-packaging | 2021.06-4.module+el9.5.0+90487+94ea5438 | 2021.06-4.module+el9.5.0+90514+74072e0a |
| Oracle Linux | 9 | nodejs-packaging-bundler | 2021.06-4.module+el9.5.0+90487+94ea5438 | 2021.06-4.module+el9.5.0+90514+74072e0a |
| Oracle Linux | 9 | npm | 1:10.8.1-1.22.4.1.4.module+el9.5.0+90420+c6d0e71c | 1:10.8.2-1.18.20.6.1.module+el9.5.0+90514+74072e0a |
| Red Hat Enterprise Linux | 9.8 | nodejs | 1:18.20.8-1.module+el9.6.0+23094+56b98c98 | 1:20.16.0-1.module+el9.4.0+22197+9e60f127 |
| Red Hat Enterprise Linux | 9.8 | nodejs-devel | 1:18.20.8-1.module+el9.6.0+23094+56b98c98 | 1:20.16.0-1.module+el9.4.0+22197+9e60f127 |
| Red Hat Enterprise Linux | 9.8 | nodejs-docs | 1:18.20.8-1.module+el9.6.0+23094+56b98c98 | 1:20.16.0-1.module+el9.4.0+22197+9e60f127 |
| Red Hat Enterprise Linux | 9.8 | nodejs-full-i18n | 1:18.20.8-1.module+el9.6.0+23094+56b98c98 | 1:20.16.0-1.module+el9.4.0+22197+9e60f127 |
| Red Hat Enterprise Linux | 9.8 | nodejs-nodemon | 3.0.1-1.module+el9.3.0.z+20478+84a9f781 | 3.0.1-1.module+el9.3.0.z+20478+84a9f781 |
| Red Hat Enterprise Linux | 9.8 | nodejs-packaging | 2021.06-4.module+el9.1.0+15718+e52ec601 | 2021.06-4.module+el9.3.0+19518+63aad52d |
| Red Hat Enterprise Linux | 9.8 | nodejs-packaging-bundler | 2021.06-4.module+el9.1.0+15718+e52ec601 | 2021.06-4.module+el9.3.0+19518+63aad52d |
| Red Hat Enterprise Linux | 9.8 | npm | 1:10.7.0-1.18.20.4.1.module+el9.4.0+22195+c221878e | 1:10.8.1-1.20.16.0.1.module+el9.4.0+22197+9e60f127 |
| Rocky Linux | 9 | nodejs-nodemon | 2.0.20-3.el9_2 | 3.0.1-1.module+el9.6.0+32143+ae966e5b |
