What’s Vulnerable › Vulnerabilities

CVE-2021-28789

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.

Affected products

How to fix

Upgrade to a fixed version: Apple-Swift-Format Project Apple-Swift-Format 1.1.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-28789 or the next vulnerability affects your stack