CVE-2020-16881

Source
https://cve.org/CVERecord?id=CVE-2020-16881
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-16881.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-16881
Published
2020-09-11T17:15:17.683Z
Modified
2026-04-10T05:30:47.379331Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

<p>A remote code execution vulnerability exists in Visual Studio Code when a user is tricked into opening a malicious 'package.json' file. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.</p> <p>To exploit this vulnerability, an attacker would need to convince a target to clone a repository and open it in Visual Studio Code. Attacker-specified code would execute when the target opens the malicious 'package.json' file.</p> <p>The update address the vulnerability by modifying the way Visual Studio Code handles JSON files.</p>

References

Affected packages

Git / github.com/microsoft/vscode

Affected ranges

Type
GIT
Repo
https://github.com/microsoft/vscode
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.48.1"
        }
    ]
}

Affected versions

0.*
0.10.10-insiders
0.10.12-insiders
0.10.5
0.10.7-insiders
1.*
1.1.0-insider
1.16.0
1.48.0
translation/20160817.*
translation/20160817.01
translation/20160826.*
translation/20160826.01
translation/20160902.*
translation/20160902.01
translation/20161014.*
translation/20161014.01
translation/20161209.*
translation/20161209.01
translation/20170217.*
translation/20170217.01
translation/20170227.*
translation/20170227.01
translation/20170311.*
translation/20170311.01
translation/20170317.*
translation/20170317.01
translation/20170324.*
translation/20170324.01
translation/20170331.*
translation/20170331.01
Other
v14

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-16881.json"