This report was translated by AI; nobody has reviewed the translation yet. Original language: Czech.
[TLP:CLEAR] Node.js fixes a high-severity vulnerability
Node.js versions 18.20.2, 20.12.2 and 21.7.3 fix a high-severity vulnerability [1][2][3].
Due to improper handling of .bat files in the child_process.spawn and child_process.spawnSync functions, an attacker can inject arbitrary commands and achieve remote code execution using malicious command-line arguments, even without the shell option enabled [4].
The vulnerability is present in product:
- Node.js; >=18.0.0, <18.20.2; >=20.0.0, <20.12.2; >=21.0.0, <21.7.3
CVSS: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
More information:
- CVE-2024-27980 at cve.org, NVD
- CWE-78 at cwe.mitre.org
The vulnerability was publicly disclosed 10. 4. 2024.
Links
- [1] https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.20.2
- [2] https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.12.2
- [3] https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V21.md#21.7.3
- [4] https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2
By CESNET, z.s.p.o. Michaela Jarošová on 11. 4. 2024.