CVE-2021-20327
Last modified
CVE-2021-20327 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Libmongocrypt | 1.2.0 |
References
- https://jira.mongodb.org/browse/NODE-3125Vendor Advisory
- https://jira.mongodb.org/browse/NODE-3125Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-20327?
How severe is CVE-2021-20327?
How do I fix CVE-2021-20327?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-20321A race condition accessing file object in the Linux kernel O…4.7
- CVE-2021-20322A flaw in the processing of received ICMP errors (ICMP fragm…7.4
- CVE-2021-20323A POST based reflected Cross Site Scripting vulnerability on…6.1
- CVE-2021-20324Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-20325Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the v…9.8
- CVE-2021-20326A user authorized to performing a specific type of find quer…6.5
- CVE-2021-20328Specific versions of the Java driver that support client-sid…6.8
- CVE-2021-20329Specific cstrings input may not be properly validated in the…6.5
- CVE-2021-2033Vulnerability in the Oracle WebLogic Server product of Oracl…4.3
- CVE-2021-20330An attacker with basic CRUD permissions on a replicated coll…6.5
- CVE-2021-20331Specific versions of the MongoDB C# Driver may erroneously p…4.9
- CVE-2021-20332Specific MongoDB Rust Driver versions can include credential…4.4
Are you affected by CVE-2021-20327?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
