{
  "schema_version": "1.4.0",
  "id": "GHSA-f4r2-649g-9gv5",
  "modified": "2022-05-24T17:44:53Z",
  "published": "2022-05-24T17:44:53Z",
  "aliases": [
    "CVE-2021-28792"
  ],
  "details": "The unofficial Swift Development Environment extension before 2.12.1 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted sourcekit-lsp.serverPath, swift.languageServerPath, swift.path.sourcekite, swift.path.sourcekiteDockerMode, swift.path.swift_driver_bin, or swift.path.shell configuration value that triggers execution upon opening the workspace.",
  "severity": [],
  "affected": [],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28792"
    },
    {
      "type": "WEB",
      "url": "https://github.com/vknabel/vscode-swift-development-environment/releases/tag/2.12.1"
    },
    {
      "type": "WEB",
      "url": "https://vuln.ryotak.me/advisories/14"
    }
  ],
  "database_specific": {
    "cwe_ids": [],
    "severity": "HIGH",
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2021-03-18T16:15:00Z"
  }
}