Vulnerability Details : CVE-2021-28789
The unofficial apple/swift-format extension before 1.1.2 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted apple-swift-format.path configuration value that triggers execution upon opening the workspace.
Vulnerability category: Execute code
Products affected by CVE-2021-28789
- cpe:2.3:a:apple-swift-format_project:apple-swift-format:*:*:*:*:*:visual_studio:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-28789
2.78%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 85 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-28789
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-28789
-
https://github.com/vknabel/vscode-apple-swift-format/releases/tag/1.1.2
Release Banned some configs from workspaces · vknabel/vscode-apple-swift-format · GitHubRelease Notes;Third Party Advisory
-
https://vuln.ryotak.me/advisories/11
Advisory #11 - RyotaK's Vuln DBThird Party Advisory
Jump to