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].

Node.js - RCE (CVE-2024-27980)
CVSS 8.1 (High)

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:

The vulnerability was publicly disclosed 10. 4. 2024.


By CESNET, z.s.p.o. Michaela Jarošová on 11. 4. 2024.

CESNET, z.s.p.o. Logo