CVE-2021-28789

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-28789
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-28789.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-28789
Published
2021-03-18T16:15:14.810Z
Modified
2025-11-14T11:35:28.228146Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/vknabel/vscode-apple-swift-format

Affected ranges

Type
GIT
Repo
https://github.com/vknabel/vscode-apple-swift-format
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0.0
1.0.1
1.0.2
1.1.0
1.1.1