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.
References
Link | Resource |
---|---|
https://github.com/vknabel/vscode-swift-development-environment/releases/tag/2.12.1 | Release Notes Third Party Advisory |
https://vuln.ryotak.me/advisories/14 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2021-03-18 16:15
Updated : 2024-02-28 18:08
NVD link : CVE-2021-28792
Mitre link : CVE-2021-28792
CVE.ORG link : CVE-2021-28792
JSON object : View
Products Affected
swift_development_environment_project
- swift_development_environment
CWE