Read the docs
TI-2021-03615 Aliases CVE-2021-20327GHSA-rjmf-p882-645m

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

Priority LOW 29CWE-295Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Spoofing
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-295.

Summary

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

Why it matters now

EPSS 0.00202 10th percentileScored 2026-11-07
Fix Fixed mongodb-client-encryption (npm): 1.2.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBMongoDB Node.js Driver mongodb-client-encryption module1.2.0—No fix listedCNA
—mongodb-client-encryption (npm)1.2.0 to before 1.2.11.2.1Patch availableGHSA-rjmf-p882-645m
  • MongoDB Node.js Driver mongodb-client-encryption module VendorMongoDB Affected 1.2.0 Fixed in — No fix listed CNA
  • mongodb-client-encryption (npm) Vendor— Affected 1.2.0 to before 1.2.1 Fixed in 1.2.1 Patch available GHSA-rjmf-p882-645m

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:mongodb_client_encryption:1.2.0:*:*:*:*:node.js:*:*1.2.0VulnerableMongoDB
  • cpe:2.3:a:mongodb:mongodb_client_encryption:1.2.0:*:*:*:*:node.js:*:* Versions 1.2.0 Vulnerable ·MongoDB

Remediation

  • Fix · GHSA-rjmf-p882-645m mongodb-client-encryption (npm) Fixed in 1.2.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-20327
  2. 2026-10-03 Alias added: GHSA-rjmf-p882-645m

References

Sources