CVE-2024-27980
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a...
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.1
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
- Record
CVE-2024-27980- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
EUVDEUVD-2024-25154
8.1
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
- Record
EUVD-2024-25154- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-fm6v-wmjp-5rxq
8.1
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a...
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
- Record
GHSA-fm6v-wmjp-5rxq- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
NVD
8.1
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
- Record
CVE-2024-27980- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
OSVBIT-node-2024-27980 No score
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
- Record
BIT-node-2024-27980- Updated
- 2026-11-02
OSVBIT-node-min-2024-27980 No score
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
- Record
BIT-node-min-2024-27980- Updated
- 2026-11-02
Show 6 moreShow less
OSVopenSUSE-SU-2024:14025-1 No score
corepack21-21.7.3-1.1 on GA media
These are all security issues fixed in the corepack21-21.7.3-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14025-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14214-1 No score
corepack20-20.15.1-1.1 on GA media
These are all security issues fixed in the corepack20-20.15.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14214-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:2496-1 No score
Security update for nodejs18
This update for nodejs18 fixes the following issues:
Update to 18.20.4:
- CVE-2024-36138: Fixed CVE-2024-27980 fix bypass (bsc#1227560)
- CVE-2024-22020: Fixed a bypass of network import restriction via data URL (bsc#1227554)
Changes in 18.20.3:
- This release fixes a regression introduced in Node.js 18.19.0 where http.server.close() was incorrectly closing idle connections.
deps:
- acorn updated to 8.11.3.
- acorn-walk updated to 8.3.2.
- ada updated to 2.7.8.
- c-ares updated to 1.28.1.
- corepack updated to 0.28.0.
- nghttp2 updated to 1.61.0.
- ngtcp2 updated to 1.3.0.
- npm updated to 10.7.0. Includes a fix from [email protected] to limit the number of open connections npm/cli#7324.
- simdutf updated to 5.2.4.
Changes in 18.20.2:
- CVE-2024-27980: Fixed command injection via args parameter of child_process.spawn without shell option enabled on Windows (bsc#1222665)
- Record
SUSE-SU-2024:2496-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:2542-1 No score
Security update for nodejs18
This update for nodejs18 fixes the following issues:
Update to 18.20.4:
- CVE-2024-36138: Fixed CVE-2024-27980 fix bypass (bsc#1227560)
- CVE-2024-22020: Fixed a bypass of network import restriction via data URL (bsc#1227554)
Changes in 18.20.3:
- This release fixes a regression introduced in Node.js 18.19.0 where http.server.close() was incorrectly closing idle connections.
deps:
- acorn updated to 8.11.3.
- acorn-walk updated to 8.3.2.
- ada updated to 2.7.8.
- c-ares updated to 1.28.1.
- corepack updated to 0.28.0.
- nghttp2 updated to 1.61.0.
- ngtcp2 updated to 1.3.0.
- npm updated to 10.7.0. Includes a fix from [email protected] to limit the number of open connections npm/cli#7324.
- simdutf updated to 5.2.4.
Changes in 18.20.2:
- CVE-2024-27980: Fixed command injection via args parameter of child_process.spawn without shell option enabled on Windows (bsc#1222665)
- Record
SUSE-SU-2024:2542-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:2543-1 No score
Security update for nodejs20
This update for nodejs20 fixes the following issues:
Update to 20.15.1:
- CVE-2024-36138: Fixed CVE-2024-27980 fix bypass (bsc#1227560)
- CVE-2024-22020: Fixed a bypass of network import restriction via data URL (bsc#1227554)
- CVE-2024-22018: Fixed fs.lstat bypasses permission model (bsc#1227562)
- CVE-2024-36137: Fixed fs.fchown/fchmod bypasses permission model (bsc#1227561)
- CVE-2024-37372: Fixed Permission model improperly processes UNC paths (bsc#1227563)
Changes in 20.15.0:
- test_runner: support test plans
- inspector: introduce the --inspect-wait flag
- zlib: expose zlib.crc32()
- cli: allow running wasm in limited vmem with --disable-wasm-trap-handler
Changes in 20.14.0
- src,permission: throw async errors on async APIs
- test_runner: support forced exit
Changes in 20.13.1:
- buffer: improve base64 and base64url performance
- crypto: deprecate implicitly shortened GCM tags
- events,doc: mark CustomEvent as stable
- fs: add stacktrace to fs/promises
- report: add --report-exclude-network option
- src: add uv_get_available_memory to report and process
- stream: support typed arrays
- util: support array of formats in util.styleText
- v8: implement v8.queryObjects() for memory leak regression testing
- watch: mark as stable
- Record
SUSE-SU-2024:2543-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:2574-1 No score
Security update for nodejs20
This update for nodejs20 fixes the following issues:
Update to 20.15.1:
- CVE-2024-36138: Fixed CVE-2024-27980 fix bypass (bsc#1227560)
- CVE-2024-22020: Fixed a bypass of network import restriction via data URL (bsc#1227554)
- CVE-2024-22018: Fixed fs.lstat bypasses permission model (bsc#1227562)
- CVE-2024-36137: Fixed fs.fchown/fchmod bypasses permission model (bsc#1227561)
- CVE-2024-37372: Fixed Permission model improperly processes UNC paths (bsc#1227563)
Changes in 20.15.0:
- test_runner: support test plans
- inspector: introduce the --inspect-wait flag
- zlib: expose zlib.crc32()
- cli: allow running wasm in limited vmem with --disable-wasm-trap-handler
Changes in 20.14.0
- src,permission: throw async errors on async APIs
- test_runner: support forced exit
Changes in 20.13.1:
- buffer: improve base64 and base64url performance
- crypto: deprecate implicitly shortened GCM tags
- events,doc: mark CustomEvent as stable
- fs: add stacktrace to fs/promises
- report: add --report-exclude-network option
- src: add uv_get_available_memory to report and process
- stream: support typed arrays
- util: support array of formats in util.styleText
- v8: implement v8.queryObjects() for memory leak regression testing
- watch: mark as stable
- Record
SUSE-SU-2024:2574-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
nodeBitnami |
before 18.20.2, 19.0.0 up to 20.12.2, 21.0.0 up to 21.7.3 | 18.20.220.12.221.7.3 |
node-minBitnami |
before 18.20.2, 19.0.0 up to 20.12.2, 21.0.0 up to 21.7.3 | 18.20.220.12.221.7.3 |
nodejs18SUSE:Linux Enterprise Module for Web and Scripting 12 From an advisory covering 3 CVEs |
before 18.20.4-8.24.1 | 18.20.4-8.24.1 |
nodejs18SUSE:Linux Enterprise Module for Web and Scripting 15 SP5 From an advisory covering 3 CVEs |
before 18.20.4-150400.9.24.2 | 18.20.4-150400.9.24.2 |
nodejs18openSUSE:Leap 15.5 From an advisory covering 3 CVEs |
before 18.20.4-150400.9.24.2 | 18.20.4-150400.9.24.2 |
nodejs20SUSE:Linux Enterprise Module for Web and Scripting 15 SP5 From an advisory covering 6 CVEs |
before 20.15.1-150500.11.12.2 | 20.15.1-150500.11.12.2 |
nodejs20openSUSE:Leap 15.5 From an advisory covering 6 CVEs |
before 20.15.1-150500.11.12.2 | 20.15.1-150500.11.12.2 |
nodejs20SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 From an advisory covering 6 CVEs |
before 20.15.1-150600.3.3.2 | 20.15.1-150600.3.3.2 |
nodejs20openSUSE:Leap 15.6 From an advisory covering 6 CVEs |
before 20.15.1-150600.3.3.2 | 20.15.1-150600.3.3.2 |
nodejs21openSUSE:Tumbleweed |
before 21.7.3-1.1 | 21.7.3-1.1 |
nodejs20openSUSE:Tumbleweed From an advisory covering 5 CVEs |
before 20.15.1-1.1 | 20.15.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-27980 is a high vulnerability (CVSS 8.1) in Node.js, published June 15, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.40%, the 72nd percentile. Fixed in node 18.20.2.
References
openwall.com/lists/oss-security/2024/04/10/15
openwall.com/lists/oss-security/2024/07/11/6
openwall.com/lists/oss-security/2024/07/19/3
lists.fedoraproject.org/archives/list/[email protected]/message/5MZN6PFXHTCCUENAKZXTGWPKUAHI6E2W
lists.fedoraproject.org/archives/list/[email protected]/message/JUWBYDVCUSCX7YWTBX75LADMCVYFBGKU
nvd.nist.gov/vuln/detail/CVE-2024-27980
Show 17 moreShow less
github.com/advisories/GHSA-fm6v-wmjp-5rxq
suse.com/support/update/announcement/2024/suse-su-20242496-1
bugzilla.suse.com/1222665
bugzilla.suse.com/1227554
bugzilla.suse.com/1227560
suse.com/security/cve/CVE-2024-22020
suse.com/security/cve/CVE-2024-27980
suse.com/security/cve/CVE-2024-36138
suse.com/support/update/announcement/2024/suse-su-20242542-1
suse.com/support/update/announcement/2024/suse-su-20242543-1
bugzilla.suse.com/1227561
bugzilla.suse.com/1227562
bugzilla.suse.com/1227563
suse.com/security/cve/CVE-2024-22018
suse.com/security/cve/CVE-2024-36137
suse.com/security/cve/CVE-2024-37372
suse.com/support/update/announcement/2024/suse-su-20242574-1