CVE-2021-34084 OS Command Injection in s3-uploader

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
s3-uploader npmAll versions to 2.0.3None
s3-uploader npmAll versions to 2.0.3None

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.

Is CVE-2021-34084 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free