CVE-2021-28791

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-28791
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28791.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-28791
Published
2021-03-18T16:15:14Z
Modified
2025-01-14T09:03:48.326977Z
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 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.

References

Affected packages

Git / github.com/vknabel/vscode-swiftformat

Affected ranges

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

Affected versions

1.*

1.0.0
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6