Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-36137: A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-write flag is used. Node.js Permission Model do not operate on file descriptors, however, operations such as fs.fchown or fs.fchmod can use a "read-only" file descriptor to change the owner and permissions of a file. CVE-2024-28863: node-tar is a Tar for Node.js. node-tar prior to version 6.2.1 has no limit on the number of sub-folders created in the folder creation process. An attacker who generates a large number of sub-folders can consume memory on the system running node-tar and even crash the Node.js client within few seconds of running it using a path with too many sub-folders inside. Version 6.2.1 fixes this issue by preventing extraction in excessively deep sub-folders. CVE-2024-22020: 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. CVE-2024-22018: A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used. This flaw arises from an inadequate permission model that fails to restrict file stats through the fs.lstat API. As a result, malicious actors can retrieve stats from files that they do not have explicit read access to.
Fixed packages 10
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | nodejs20 | 1:20.18.0-1.amzn2023.0.2 |
| Amazon Linux · 2023 | nodejs20-debuginfo | 1:20.18.0-1.amzn2023.0.2 |
| Amazon Linux · 2023 | nodejs20-debugsource | 1:20.18.0-1.amzn2023.0.2 |
| Amazon Linux · 2023 | nodejs20-devel | 1:20.18.0-1.amzn2023.0.2 |
| Amazon Linux · 2023 | nodejs20-docs | 1:20.18.0-1.amzn2023.0.2 |
| Amazon Linux · 2023 | nodejs20-full-i18n | 1:20.18.0-1.amzn2023.0.2 |
| Amazon Linux · 2023 | nodejs20-libs | 1:20.18.0-1.amzn2023.0.2 |
| Amazon Linux · 2023 | nodejs20-libs-debuginfo | 1:20.18.0-1.amzn2023.0.2 |
| Amazon Linux · 2023 | nodejs20-npm | 1:10.8.2-1.20.18.0.1.amzn2023.0.2 |
| Amazon Linux · 2023 | v8-11.3-devel | 3:11.3.244.8-1.20.18.0.1.amzn2023.0.2 |
Vulnerabilities 4
-
Medium 6.5
A security flaw in Node.js allows a bypass of network import restrictions. By embedding non-network imports in data URL…
-
Medium 6.5
node-tar vulnerable to denial of service while parsing a tar file due to lack of folders count validation
node-tar is a Tar for Node.js. node-tar prior to version 6.2.1 has no limit on the number of sub-folders created in the folder creation process. An attacker who generates a large number of sub-folders can consume memory on the system running node-tar and even…
-
Low 3.3
A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-f…
-
Low 2.9
A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-f…