Vulnerabilities > CVE-2021-28791 - Incorrect Authorization vulnerability in Swiftformat Project Swiftformat

047910
CVSS 7.8 - HIGH
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
local
low complexity
swiftformat-project
CWE-863

Summary

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.

Common Weakness Enumeration (CWE)