Vulnerability · Published Mar 18, 2021 · Assigned by mitre
CVE-2021-28789
High 7.8
In plain English
A high-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities).
Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.7%top 22.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected products (as reported)
References
- https://github.com/vknabel/vscode-apple-swift-format/releases/tag/1.1.2 x_refsource_MISC
- https://vuln.ryotak.me/advisories/11 x_refsource_MISC