CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021

CVE-2021-28791
Swiftformat Project Swiftformat vulnerability

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.

Affected products

Swiftformat. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Swiftformat Project Swiftformat 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

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.