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.
References
Link | Resource |
---|---|
https://github.com/vknabel/vscode-swiftformat/releases/tag/1.3.7 | Release Notes Third Party Advisory |
https://vuln.ryotak.me/advisories/13 | Third Party Advisory |
https://github.com/vknabel/vscode-swiftformat/releases/tag/1.3.7 | Release Notes Third Party Advisory |
https://vuln.ryotak.me/advisories/13 | Third Party Advisory |
Configurations
History
21 Nov 2024, 06:00
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/vknabel/vscode-swiftformat/releases/tag/1.3.7 - Release Notes, Third Party Advisory | |
References | () https://vuln.ryotak.me/advisories/13 - Third Party Advisory |
Information
Published : 2021-03-18 16:15
Updated : 2024-11-21 06:00
NVD link : CVE-2021-28791
Mitre link : CVE-2021-28791
CVE.ORG link : CVE-2021-28791
JSON object : View
Products Affected
swiftformat_project
- swiftformat
CWE
CWE-863
Incorrect Authorization