CVE-2021-28791
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.62%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 1.62% probability · 75th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-863
- Affected
- swiftformat project/swiftformat
- Source
- cve@mitre.org
References
- https://github.com/vknabel/vscode-swiftformat/releases/tag/1.3.7Release Notes, Third Party Advisory
- https://vuln.ryotak.me/advisories/13Third Party Advisory
- https://github.com/vknabel/vscode-swiftformat/releases/tag/1.3.7Release Notes, Third Party Advisory
- https://vuln.ryotak.me/advisories/13Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.