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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2021-03-18T15:04:47
Updated: 2021-04-05T05:56:12
Reserved: 2021-03-18T00:00:00
Link: CVE-2021-28792
JSON object: View
NVD Information
Status : Analyzed
Published: 2021-03-18T16:15:14.997
Modified: 2021-04-26T19:08:31.780
Link: CVE-2021-28792
JSON object: View
Redhat Information
No data.
CWE