CVE-2021-28790
Swiftlint Project Swiftlint vulnerability
The unofficial SwiftLint extension before 1.4.5 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted swiftlint.path configuration value that triggers execution upon opening the workspace.
Affected products
Swiftlint. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Swiftlint Project Swiftlint runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/vknabel/vscode-swiftlint/releases/tag/1.4.5 · Third Party Advisory
- vuln.ryotak.me/advisories/12 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-28790
- cve.org/CVERecord?id=CVE-2021-28790
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.