CWE
122 119
EPSS
0.043%
Advisory Published
Updated

CVE-2024-6383: MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow

First published: Wed Jul 03 2024(Updated: )

The bson_string_append function in MongoDB C Driver may be vulnerable to a buffer overflow where the function might attempt to allocate too small of buffer and may lead to memory corruption of neighbouring heap memory. This issue affects libbson versions prior to 1.27.1

Credit: cna@mongodb.com

Affected SoftwareAffected VersionHow to fix
MongoDB C Driver<1.27.1
MongoDB LibBson<1.27.1

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 the severity of CVE-2024-6383?

    CVE-2024-6383 is classified as a critical vulnerability due to its potential for memory corruption and security exploitation.

  • How do I fix CVE-2024-6383?

    To fix CVE-2024-6383, upgrade the MongoDB C Driver and libbson to version 1.27.1 or later.

  • What components are affected by CVE-2024-6383?

    CVE-2024-6383 affects the MongoDB C Driver and libbson versions prior to 1.27.1.

  • What are the potential impacts of CVE-2024-6383?

    The potential impacts of CVE-2024-6383 include memory corruption which could lead to application crashes or arbitrary code execution.

  • Is there a workaround for CVE-2024-6383?

    There are no known workarounds for CVE-2024-6383; the recommended action is to update the software.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203