{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.7.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "3c9005adfa84987ba3338c8a113152e063f16a32"
            },
            {
              "fixed": "0f21452abcd772ca0066bf30e637b865a1115041"
            }
          ],
          "repo": "https://github.com/mongodb-js/vscode",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Users with appropriate file access may be able to access unencrypted user credentials saved by MongoDB Extension for VS Code in a binary file. These credentials may be used by malicious attackers to perform unauthorized actions. This vulnerability affects all MongoDB Extension for VS Code including and prior to version 0.7.0",
  "id": "CVE-2021-32039",
  "modified": "2026-03-13T21:47:19.338476802Z",
  "published": "2022-01-20T15:15:07.893Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/mongodb-js/vscode/releases/tag/v0.8.0"
    },
    {
      "type": "REPORT",
      "url": "https://jira.mongodb.org/browse/VSCODE-313"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}