CVE-2021-34084 OS Command Injection in s3-uploader
Attackers can execute arbitrary OS commands via the metadata function in the node-s3-uploader library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-34084?
CVE-2021-34084 is a critical command injection vulnerability in n/a, published on 1 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OS command injection vulnerability in Turistforeningen node-s3-uploader through 2.0.3 for Node.js allows attackers to execute arbitrary commands via the metadata() function.
Weakness: CWE-78
Which versions are affected by CVE-2021-34084?
2 open source packages ship an affected version, including s3-uploader. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
s3-uploader npm | All versions to 2.0.3 | None |
s3-uploader npm | All versions to 2.0.3 | None |
Products include S3-Uploader Project S3-Uploader.
How do I fix CVE-2021-34084?
No fix has been published for CVE-2021-34084 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-34084 being exploited?
There is no known exploitation of CVE-2021-34084 in the wild and no public exploit code.
Sources
Also known as GHSA-gwp3-f7mr-qpfv.