CVE-2024-6383 json
MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow
published 2y ago modified 4mo ago also EUVD-2024-47490
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- MongoDB Inc libbson 1.27.1
- mongo-c-driver Debian 12 1.23.1-1+deb12u1
- mongo-c-driver Debian 14, Debian 13 1.27.1-1
- libbson-xs-perl Debian 12 0.8.4-2+deb12u1
debian advisories DEBIAN-CVE-2024-6383
- mongo-c-driver Ubuntu Pro 24.04 LTS 1.26.0-1.1ubuntu2+esm1
ubuntu advisories UBUNTU-CVE-2024-6383
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2024-6383 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.63% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected products
- MongoDB Inc libbson
Classification
- Weakness
-
- CWE-122 Heap-based Buffer Overflow
References
Sources
- CVE List CVE-2024-6383
- NVD CVE-2024-6383
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.