Vulnerability Details : 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.
Vulnerability category: Execute code
Products affected by CVE-2021-28792
- Swift Development Environment Project » Swift Development Environment » For Visual Studio CodeVersions before (<) 2.12.1cpe:2.3:a:swift_development_environment_project:swift_development_environment:*:*:*:*:*:visual_studio_code:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-28792
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 60 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-28792
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
References for CVE-2021-28792
-
https://github.com/vknabel/vscode-swift-development-environment/releases/tag/2.12.1
Release Banned some configs from workspace settings · vknabel/vscode-swift-development-environment · GitHubRelease Notes;Third Party Advisory
-
https://vuln.ryotak.me/advisories/14
Advisory #14 - RyotaK's Vuln DBThird Party Advisory
Jump to