Improper Certificate Validation The advisory has been revoked - it doesn't affect any version of package mongodb-client-encryption  (opens in a new tab)


Threat Intelligence

EPSS
0.21% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-MONGODBCLIENTENCRYPTION-12878599
  • published18 Sept 2025
  • disclosed25 Feb 2021
  • creditUnknown

Introduced: 25 Feb 2021

CVE-2021-20327  (opens in a new tab)
CWE-295  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

mongodb-client-encryption is a The Node.js wrapper for libmongocrypt

Affected versions of this package are vulnerable to Improper Certificate 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 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.

Note:

This is a duplicate of SNYK-JS-MONGODBCLIENTENCRYPTION-1079243