{ "schema_version": "1.4.0", "id": "GHSA-q58h-4hfv-p9c7", "modified": "2022-05-24T17:44:53Z", "published": "2022-05-24T17:44:53Z", "aliases": [ "CVE-2021-28791" ], "details": "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.", "severity": [], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28791" }, { "type": "WEB", "url": "https://github.com/vknabel/vscode-swiftformat/releases/tag/1.3.7" }, { "type": "WEB", "url": "https://vuln.ryotak.me/advisories/13" } ], "database_specific": { "cwe_ids": [ "CWE-863" ], "severity": "HIGH", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2021-03-18T16:15:00Z" } }