All CVEs / Swift Development Environment Project
CVE-2021-28792Swift Development Environment Project Swift Development Environment
High 7.8
Follow: this CVE · Swift Development Environment Project · Swift Development Environment Project Swift Development Environment 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 77
- 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 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.
What to do
- Apply the vendor's security update for Swift Development Environment.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| swift_development_environment_project | swift_development_environment | < 2.12.1 |
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