CVE-2021-28477

Visual Studio Code Remote Code Execution Vulnerability

7.0 high EPSS 2.29%

Published 13 Apr 2021 Updated 3 Aug 2024 CNA: microsoft

Description

Visual Studio Code Remote Code Execution Vulnerability

Severity (CVSS)

7.0 high CVSS 3.1 from microsoft (CNA)
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 2.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 84.0% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Visual Studio Code
affected from 1.0.0, before publication

Is my server affected?

This CVE is in Visual Studio Code of Microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2021-28477 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.