The unofficial apple/swift-format extension before 1.1.2 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted apple-swift-format.path configuration value that triggers execution upon opening the workspace.
References
Link | Resource |
---|---|
https://github.com/vknabel/vscode-apple-swift-format/releases/tag/1.1.2 | Release Notes Third Party Advisory |
https://vuln.ryotak.me/advisories/11 | Third Party Advisory |
https://github.com/vknabel/vscode-apple-swift-format/releases/tag/1.1.2 | Release Notes Third Party Advisory |
https://vuln.ryotak.me/advisories/11 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 06:00
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/vknabel/vscode-apple-swift-format/releases/tag/1.1.2 - Release Notes, Third Party Advisory | |
References | () https://vuln.ryotak.me/advisories/11 - Third Party Advisory |
20 May 2022, 20:56
Type | Values Removed | Values Added |
---|---|---|
References | (MISC) https://vuln.ryotak.me/advisories/11 - Third Party Advisory |
Information
Published : 2021-03-18 16:15
Updated : 2024-11-21 06:00
NVD link : CVE-2021-28789
Mitre link : CVE-2021-28789
CVE.ORG link : CVE-2021-28789
JSON object : View
Products Affected
apple-swift-format_project
- apple-swift-format
CWE