CVEvulnerability

CVE-2021-28789

7.8 HIGH Published 2021-03-18 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-03-18
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P

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 configurations

• apple-swift-format project apple-swift-format (< 1.1.2)

References