What’s Vulnerable › Vulnerabilities

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

Description

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

Affected products

How to fix

Upgrade to a fixed version: MongoDB Inc libbson 1.27.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-6383 or the next vulnerability affects your stack