All CVEs / Apple-swift-format Project
CVE-2021-28789Apple-swift-format Project Apple-swift-format
High 7.8
Follow: this CVE · Apple-swift-format Project · Apple-swift-format Project Apple-swift-format We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- Yes
- Published
- Mar 18, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Apple-swift-format.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apple-swift-format_project | apple-swift-format | < 1.1.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- vuln.ryotak.me Third Party Advisory