CVE-2024-3566: A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function when the specific conditions are satisfied.

Critical CVSS 9.8

CVE id
CVE-2024-3566
Published
Last modified

Affected packages

PackageAffected versionsFixed in
Node.js
Runtimes and servers
< 18.20.2
>= 19.0.0, < 20.12.2
>= 21.0.0, < 21.7.3
18.20.2, 20.12.2, 21.7.3
PHP
Runtimes and servers
< 8.1.28
>= 8.2.0, < 8.2.18
>= 8.3.0, < 8.3.6
8.1.28, 8.2.18, 8.3.6
Rust
Runtimes and servers
< 1.77.2 1.77.2

How to fix it

Node.js (Runtimes and servers)

Upgrade Node.js to the fixed release of the line you run: 18.20.2, 20.12.2, 21.7.3.

node --version
  • Install the patched Node.js release of your major line (nvm install, or the node image tag) everywhere the app runs and builds.

PHP (Runtimes and servers)

Upgrade PHP to the fixed release of the line you run: 8.1.28, 8.2.18, 8.3.6.

php --version
  • Install the patched PHP release of your minor line (the php image tag or your OS packages) and restart PHP-FPM.

Rust (Runtimes and servers)

Upgrade Rust to 1.77.2 or later.

rustc --version
  • Build with the patched Rust toolchain (rustup update, or rust-toolchain.toml) and redeploy.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function when the specific conditions are satisfied.

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.