CVE-2021-28792
Last modified
CVE-2021-28792 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. The unofficial Swift Development Environment extension before 2.12.1 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted sourcekit-lsp.serverPath, swift.languageServerPath, swift.path.sourcekite, swift.path.sourcekiteDockerMode, swift.path.swift_driver_bin, or swift.path.shell configuration value that triggers execution upon opening the workspace.. EPSS estimates a 1.68% chance of exploitation in the next 30 days.
Description
The unofficial Swift Development Environment extension before 2.12.1 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted sourcekit-lsp.serverPath, swift.languageServerPath, swift.path.sourcekite, swift.path.sourcekiteDockerMode, swift.path.swift_driver_bin, or swift.path.shell 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 |
|---|---|---|
| Swift Development Environment Project | Swift Development Environment | < 2.12.1 |
References
- https://github.com/vknabel/vscode-swift-development-environment/releases/tag/2.12.1Release Notes, Third Party Advisory
- https://vuln.ryotak.me/advisories/14Third Party Advisory
- https://github.com/vknabel/vscode-swift-development-environment/releases/tag/2.12.1Release Notes, Third Party Advisory
- https://vuln.ryotak.me/advisories/14Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-28792?
How severe is CVE-2021-28792?
How do I fix CVE-2021-28792?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-28714Guest can force Linux netback driver to hog large amounts of…6.5
- CVE-2021-28715Guest can force Linux netback driver to hog large amounts of…6.5
- CVE-2021-28732Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-28789The unofficial apple/swift-format extension before 1.1.2 for…7.8
- CVE-2021-28790The unofficial SwiftLint extension before 1.4.5 for Visual S…7.8
- CVE-2021-28791The unofficial SwiftFormat extension before 1.3.7 for Visual…7.8
- CVE-2021-28793vscode-restructuredtext before 146.0.0 contains an incorrect…9.8
- CVE-2021-28794The unofficial ShellCheck extension before 0.13.4 for Visual…9.8
- CVE-2021-28796Increments Qiita::Markdown before 0.33.0 allows XSS in trans…6.1
- CVE-2021-28797A stack-based buffer overflow vulnerability has been reporte…9.8
- CVE-2021-28798A relative path traversal vulnerability has been reported to…7.5
- CVE-2021-28799An improper authorization vulnerability has been reported to…9.8
Are you affected by CVE-2021-28792?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
