Vulnerability in Apple-Swift-Format Project

CVE-2021-28789

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.

EPSS: 0.017 (75.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

References

Frequently asked questions

What is CVE-2021-28789?
CVE-2021-28789 is a high-severity vulnerability in Apple-Swift-Format Project. CVSS score: 7.8/10. Published 2021-03-18.
How severe is CVE-2021-28789?
High severity. CVSS v3 base score is 7.8 out of 10.