CVE-2021-30124 Command injection in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code via a crafted configuration value in the PHP Mess Detector VS Code extension.

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-30124?

CVE-2021-30124 is a critical command injection vulnerability in n/a, published on 29 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The unofficial vscode-phpmd (aka PHP Mess Detector) extension before 1.3.0 for Visual Studio Code allows remote attackers to execute arbitrary code via a crafted phpmd.command value in a workspace folder.

Which versions are affected by CVE-2021-30124?

It affects 1 product.

Products include Vscode-Phpmd Project Vscode-Phpmd.

How do I fix CVE-2021-30124?

No fix has been published for CVE-2021-30124 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-30124 being exploited?

There is no known exploitation of CVE-2021-30124 in the wild and no public exploit code.

Sources

Also known as GHSA-x738-gr3m-69cq.

Is CVE-2021-30124 in your software?

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

Check your SBOMs for free