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 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:swift_development_environment_project:swift_development_environment:*:*:*:*:*:visual_studio_code:*:*

History

21 Nov 2024, 06:00

Type Values Removed Values Added
References () https://github.com/vknabel/vscode-swift-development-environment/releases/tag/2.12.1 - Release Notes, Third Party Advisory () https://github.com/vknabel/vscode-swift-development-environment/releases/tag/2.12.1 - Release Notes, Third Party Advisory
References () https://vuln.ryotak.me/advisories/14 - Third Party Advisory () https://vuln.ryotak.me/advisories/14 - Third Party Advisory

Information

Published : 2021-03-18 16:15

Updated : 2024-11-21 06:00


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