CPANSA-BSON-XS-2024-6381-libbson: BSON-XS vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2024-07-02T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2024-07-02T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score 4 Severity Moderate
Original language Language en
Also referred to

Vulnerability Description

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

Vulnerabilities

CVE-2024-6381

Vulnerability Description

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

Weakness CWE-680 : Integer Overflow to Buffer Overflow

Product status

Known affected
Product Score
BSON-XS greater than or equal 0.2.0 and less than or equal 0.8.4
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N 4.0 Medium

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Tue Jul 2 00:00:00 2024 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/