Security mailing lists by PureSourceCode

CVE-2021-20327

MEDIUM 6.8CVSS 3.1

mongodb-client-encryption vulnerable to Improper Certificate Validation

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

Published
25 Feb 2021
Last modified
17 Sep 2026
Assigned by
cna@mongodb.com
NVD status
Analyzed
Weakness
CWE-295
Also known as
GHSA-rjmf-p882-645m
Sources
NVDJSONOSV GHSA-rjmf-p882-645mJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD cna@mongodb.com (Secondary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:A/AC:M/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb mongodb_client_encryption
cpe:2.3:a:mongodb:mongodb_client_encryption:1.2.0:*:*:*:*:node.js:*:*
= 1.2.0
OSV npm mongodb-client-encryption >= 1.2.0, < 1.2.1 1.2.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 25 Feb 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Apr 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.