CVE-2024-6381 Affecting mongo-c-driver package, versions <1.26.2-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-MONGOCDRIVER-7424575
  • published5 Jul 2024
  • disclosed2 Jul 2024

Introduced: 2 Jul 2024

CVE-2024-6381  (opens in a new tab)

How to fix?

Upgrade Debian:13 mongo-c-driver to version 1.26.2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mongo-c-driver package and not the mongo-c-driver package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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