CVE-2021-26700: Visual Studio Code npm-script Extension Remote Code Execution Vulnerability

Overview

Severity
High (CVSS 7.8)
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Category
Remote Code Execution
Exploit Status
Not Exploited
Exploitation Likelihood
Less Likely
Patch Tuesday
2021-Feb
Released
2021-02-09
Last Updated
2021-02-16
EPSS Score
10.32% (percentile: 93.2%)

FAQ

How could an attacker exploit this vulnerability? To exploit this vulnerability, an attacker would need to convince a targeted user to clone a malicious repository. Attacker-specified code would execute once the targeted user viewed contents of the repository in Visual Studio Code.

Detection & Weaponization (1 sources)

Maturity: Exploit

  • GitHub PoC: 2 repositories

Affected Products (1)

Developer Tools

  • Visual Studio Code - npm-script Extension

Security Updates (1)

Acknowledgments

Jack Adamson (<a href="https://twitter.com/jadamson08">@jadamson08</a>)

Revision History

  • 2021-02-09: Information published.
  • 2021-02-16: Corrected Article links in the Security Updates table. This is an informational change only.