CVE-2021-28792 Information

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.

CVSS Vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Reference

https://github.com/vknabel/vscode-swift-development-environment/releases/tag/2.12.1 https://vuln.ryotak.me/advisories/14

Attack Complexity

LOW

Privileges Required

NONE

User Interaction Required

NONE

Scope

REQUIRED

Confidentiality Impact

UNCHANGED

Integrity Impact

HIGH

Availability Impact

HIGH

Base Score

HIGH

Base Severity

7.8

Share on: