CVE-2021-28789
Last modified
CVE-2021-28789 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 1.71% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apple-Swift-Format Project | Apple-Swift-Format | < 1.1.2 |
References
- https://github.com/vknabel/vscode-apple-swift-format/releases/tag/1.1.2Release Notes, Third Party Advisory
- https://vuln.ryotak.me/advisories/11Third Party Advisory
- https://github.com/vknabel/vscode-apple-swift-format/releases/tag/1.1.2Release Notes, Third Party Advisory
- https://vuln.ryotak.me/advisories/11Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-28789?
How severe is CVE-2021-28789?
How do I fix CVE-2021-28789?
Are you affected by CVE-2021-28789?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
