Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-20327

published medium CVSS 3.1 · 6.4

MongoDB Node.js client side field level encryption library may not be validating KMS certificate

Published
25 Feb 2021, 16:25:11 UTC
Updated
16 Sep 2024, 19:24:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
MongoDB Inc. — MongoDB Node.js Driver mongodb-client-encryption module1.2.0 · Other versions: unaffected Affected Not stated mongodb

Description

A specific version of the Node.js mongodb-client-encryption module does not perform correct validation of the KMS server’s certificate. This vulnerability in combination with a privileged network position active MITM attack could result in interception of traffic between the Node.js driver and the KMS service rendering client-side field level encryption (CSFLE) ineffective. This issue was discovered during internal testing and affects mongodb-client-encryption module version 1.2.0, which was available from 2021-Jan-29 and deprecated in the NPM Registry on 2021-Feb-04. This vulnerability does not impact driver traffic payloads with CSFLE-supported key services from applications residing inside the AWS, GCP, and Azure nework fabrics due to compensating controls in these environments. This issue does not impact driver workloads that don’t use Field Level Encryption. This issue affect MongoDB Node.js Driver mongodb-client-encryption module version 1.2.0

en · mongodb · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.4 / 10
Severity
medium
Provider
mongodb · cna
Vector string
CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
MongoDB Inc. MongoDB Node.js Driver mongodb-client-encryption module 1.2.0 (affected)Default: unaffected mongodb · cna

Weaknesses

1
  • CWE-295 CWE-295 Improper Certificate Validation (mongodb · cna)

References

1

Provider assertions

2

mongodb · cna

MongoDB Node.js client side field level encryption library may not be validating KMS certificate

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
cad758d65237975732a08adf00d557145545f0ce55e5e50feffd8214382f8407
Ingested
23 Sep 2026, 07:52:16 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected