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 configu...
HighCVSS 7.8
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| swiftformat project swiftformat | < 1.3.7 | 1.3.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| swiftformat project swiftformat | < 1.3.7 | 1.3.7 |
References
- github.com release-notes third-party-advisory
- vuln.ryotak.me third-party-advisory