CVE-2021-28789
High
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.
SeverityHigh
CVSS7.8
Exploit probability—
ProductApple-swift-format
PublishedMar 18, 2021
First seenMar 18, 2021
How to fix
Update
- apple-swift-format_project apple-swift-format1.1.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apple-swift-format_project apple-swift-format | v < 1.1.2 | 1.1.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.