CVE-2021-30124
CRITICALCVSS 9.8/10EPSS 3.05%
Last modified
CVE-2021-30124 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 3.05% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vscode-Phpmd Project | Vscode-Phpmd | < 1.3.0 |
References
- https://github.com/sandhje/vscode-phpmd/commit/c462bf5c6f0160d0199855d5f8ed76be8d9beac0Patch, Third Party Advisory
- https://vuln.ryotak.me/advisories/25Third Party Advisory
- https://github.com/sandhje/vscode-phpmd/commit/c462bf5c6f0160d0199855d5f8ed76be8d9beac0Patch, Third Party Advisory
- https://vuln.ryotak.me/advisories/25Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-30124?
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.
How severe is CVE-2021-30124?
CVE-2021-30124 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 3.05% probability of exploitation in the next 30 days.
How do I fix CVE-2021-30124?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2021-30124?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
