CVE-2024-6383: MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
MongoDB C Driver (libbson)to a version that resolves this vulnerability.Fixed in 1.27.1
Event History
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.