SecurityContext

CVE-2021-32039: MongoDB Extension for VS Code - Credential Disclosure

  • Cve: CVE-2021-32039
  • Name: MongoDB Extension for VS Code - Credential Disclosure
  • Description: 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
  • Impact: Attackers with file access can retrieve unencrypted credentials, leading to unauthorized actions and potential system compromise.
  • Remediation: Update to version 0.7.1 or later.
  • Vulnerability type: hardcoded_credentials
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00289
  • Epss percentile: 0.21774
  • Assignee: [email protected]
  • Published at: 2022-01-20T15:15:07Z
  • Age in days: 1769
  • Modified at: 2026-06-17T03:52:42Z
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32039
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-522Insufficiently Protected Credentials

References

UrlSourceTags
https://jira.mongodb.org/browse/VSCODE-313nvdIssue Tracking, Vendor Advisory
https://github.com/mongodb-js/vscode/releases/tag/v0.8.0nvdRelease Notes, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
mongodb:mongodb<= 0.7.0nonvd/v1/products/mongodb/mongodb

Projects

RepositoryLink kindsIndexedUrl
mongodb-js/vscodereleasesyes/v1/repositories/mongodb-js/vscode

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 159883
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports