First published: Tue Jul 02 2024(Updated: )
The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the function will try to free memory at a negative offset. This may result in memory corruption. This issue affected libbson versions prior to 1.26.2
Credit: cna@mongodb.com
Affected Software | Affected Version | How to fix |
---|---|---|
MongoDB LibBson | <1.26.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-6381 has a high severity rating due to the risk of memory corruption from integer overflow.
To fix CVE-2024-6381, update the MongoDB C driver library to version 1.26.2 or later.
All versions of libbson prior to 1.26.2 are affected by CVE-2024-6381.
The impact of CVE-2024-6381 includes potential memory corruption due to improper handling of memory free operations.
Yes, CVE-2024-6381 specifically affects the bson_strfreev function in the MongoDB C driver library.