Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vscode-Phpmd Project | Vscode-Phpmd | < 1.3.0 |
References
- https://github.com/sandhje/vscode-phpmd/commit/c462bf5c6f0160d0199855d5f8ed76be8PatchThird Party Advisory
- https://marketplace.visualstudio.com/items?itemName=ecodes.vscode-phpmdProduct
- https://vuln.ryotak.me/advisories/25Third Party Advisory
- https://github.com/sandhje/vscode-phpmd/commit/c462bf5c6f0160d0199855d5f8ed76be8PatchThird Party Advisory
- https://marketplace.visualstudio.com/items?itemName=ecodes.vscode-phpmdProduct
- https://vuln.ryotak.me/advisories/25Third Party Advisory
FAQ
What is CVE-2021-30124?
CVE-2021-30124 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 fol...
How severe is CVE-2021-30124?
CVE-2021-30124 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-30124?
Check the references section above for vendor advisories and patch information. Affected products include: Vscode-Phpmd Project Vscode-Phpmd.