MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow (MongoDB Inc libbson)

CVE-2024-6383
MEDIUM 5.3

At a glance

Source
NVD
EPSS
EPSS 0.63 % · percentile 50 ()
State
PUBLISHED
Published
Updated
Assigner
mongodb
NVD status
Deferred

Description

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

Weaknesses (CWE)

  • CWE-122 — Heap-based Buffer Overflow

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Nmongodb
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NNVD · cna@mongodb.com (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
MongoDB Inc · libbsonaffected 0 < 1.27.1

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD