CVE-2021-28792 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 sourc...
HighCVSS 7.8
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| swift development environment project swift development environment | < 2.12.1 | 2.12.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| swift development environment project swift development environment | < 2.12.1 | 2.12.1 |
References
- github.com release-notes third-party-advisory
- vuln.ryotak.me third-party-advisory