CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021

CVE-2021-28789
Apple-swift-format Project Apple-swift-format vulnerability

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

Apple-swift-format. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Apple-swift-format Project Apple-swift-format 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.