CVEvulnerability
CVE-2021-28789
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-03-18
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
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 configurations
• apple-swift-format project apple-swift-format (< 1.1.2)
References
- https://github.com/vknabel/vscode-apple-swift-format/releases/tag/1.1.2 Release Notes, Third Party Advisory
- https://vuln.ryotak.me/advisories/11 Third Party Advisory
- https://github.com/vknabel/vscode-apple-swift-format/releases/tag/1.1.2 Release Notes, Third Party Advisory
- https://vuln.ryotak.me/advisories/11 Third Party Advisory