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

Published Jul 3, 2024
·
Updated

The bsonstringappend 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

Affected Software

2 affected components
MongoDB C Driver<1.27.1
MongoDB libbson<1.27.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MongoDB C Driver (libbson) to a version that resolves this vulnerability.

    Fixed in 1.27.1

Event History

Jul 3, 2024
CVE Published
via MITRE·09:33 PM
Data Sourced
via MITRE·09:33 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

What components are affected by CVE-2024-6383?

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

4

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.

5

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