{ "schema_version": "1.4.0", "id": "GHSA-jc26-vp5p-2mv9", "modified": "2024-04-04T03:05:02Z", "published": "2022-05-24T17:44:53Z", "aliases": [ "CVE-2021-28789" ], "details": "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28789" }, { "type": "WEB", "url": "https://github.com/vknabel/vscode-apple-swift-format/releases/tag/1.1.2" }, { "type": "WEB", "url": "https://vuln.ryotak.me/advisories/11" } ], "database_specific": { "cwe_ids": [], "severity": "HIGH", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2021-03-18T16:15:00Z" } }