CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021

CVE-2021-30124
Vscode-phpmd Project Vscode-phpmd vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Vscode-phpmd. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Vscode-phpmd Project Vscode-phpmd runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.