Vulnerability CVE-2021-28791


Published: 2021-03-18

Description:
The unofficial SwiftFormat extension before 1.3.7 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted swiftformat.path configuration value that triggers execution upon opening the workspace.

Type:

NVD-CWE-noinfo

CVSS2 => (AV:N/AC:M/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
6.8/10
6.4/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Swiftformat project -> Swiftformat 

 References:
https://github.com/vknabel/vscode-swiftformat/releases/tag/1.3.7

Copyright 2024, cxsecurity.com

 

Back to Top