CWE
20
Advisory Published
Updated

CVE-2021-20330: Specific replication command with malformed oplog entries can crash secondaries

First published: Wed Dec 15 2021(Updated: )

An attacker with basic CRUD permissions on a replicated collection can run the applyOps command with specially malformed oplog entries, resulting in a potential denial of service on secondaries. This issue affects MongoDB Server v4.0 versions prior to 4.0.25; MongoDB Server v4.2 versions prior to 4.2.14; MongoDB Server v4.4 versions prior to 4.4.6.

Credit: cna@mongodb.com cna@mongodb.com

Affected SoftwareAffected VersionHow to fix
MongoDB MongoDB>=4.0.0<4.0.25
MongoDB MongoDB>=4.2.0<4.2.14
MongoDB MongoDB>=4.4.0<4.4.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-20330?

    CVE-2021-20330 is a vulnerability that allows an attacker with basic CRUD permissions on a replicated collection to run the applyOps command with specially malformed oplog entries, resulting in a potential denial of service on secondaries.

  • Which versions of MongoDB Server are affected by CVE-2021-20330?

    CVE-2021-20330 affects MongoDB Server v4.0 versions prior to 4.0.25, MongoDB Server v4.2 versions prior to 4.2.14, and MongoDB Server v4.4 versions prior to 4.4.6.

  • What is the severity of CVE-2021-20330?

    CVE-2021-20330 has a severity rating of medium with a score of 6.5.

  • How can I fix CVE-2021-20330?

    To fix CVE-2021-20330, it is recommended to upgrade to MongoDB Server version 4.0.25 (or later) for v4.0, 4.2.14 (or later) for v4.2, or 4.4.6 (or later) for v4.4.

  • Where can I find more information about CVE-2021-20330?

    You can find more information about CVE-2021-20330 on the MongoDB Jira page: https://jira.mongodb.org/browse/SERVER-36263.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203