Vulnerability in Swift Development Environment Project
CVE-2021-28792
The unofficial Swift Development Environment extension before 2.12.1 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted sourcekit-lsp.serverPath, swift.languageServerPath, swift.path.sourcekite, swift.path.sourcekiteDockerMode, swift.path.swift_driver_bin, or swift.path.shell configuration value that triggers execution upon opening the workspace.
EPSS: 0.017 (74.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Swift_development_environment_project Swift_development_environment
- N/a — versions n/a
References
- cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-28792?
- CVE-2021-28792 is a high-severity vulnerability in Swift Development Environment Project. CVSS score: 7.8/10. Published 2021-03-18.
- How severe is CVE-2021-28792?
- High severity. CVSS v3 base score is 7.8 out of 10.