CVE-2021-30124
9.8critical
The unofficial vscode-phpmd (aka PHP Mess Detector) extension before 1.3.0 for Visual Studio Code allows remote attackers to execute arbitr…
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 3.05% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| vscode-phpmd_project vscode-phpmd | before 1.3.0 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
What each source says
CVE List
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.
NVD (es)
La extensión no oficial vscode-phpmd (también se conoce como PHP Mess Detector) versiones anteriores a 1.3.0 para Visual Studio Code, permite a atacantes remotos ejecutar código arbitrario por medio de un valor phpmd.command diseñado en una carpeta del workspace
References
| https://marketplace.visualstudio.com/items?itemName=ecodes.vscode-phpmd | product | |
| https://vuln.ryotak.me/advisories/25 | third-party-advisory | |
| https://github.com/sandhje/vscode-phpmd/commit/c462bf5c6f0160d0199855d5f8ed76be8d9beac0 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-30124 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-30124 changed 2026-06-17 | Public domain |