CVE-2021-28789 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-forma...
HighCVSS 7.8
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apple-swift-format project apple-swift-format | < 1.1.2 | 1.1.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apple-swift-format project apple-swift-format | < 1.1.2 | 1.1.2 |
References
- github.com release-notes third-party-advisory
- vuln.ryotak.me third-party-advisory