CVE-2024-6383 Affecting mongo-c-driver package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.19% (42nd 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-UBUNTU2004-MONGOCDRIVER-7421270
  • published26 Jun 2025
  • disclosed3 Jul 2024

Introduced: 3 Jul 2024

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

How to fix?

There is no fixed version for Ubuntu:20.04 mongo-c-driver.

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 Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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