p PatchFirst

CVE-2024-6383

CVE-2024-6383 · MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 5.3 · Medium · EPSS 0.6% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • libbson

    Versions
    • ≥ 0, < 1.27.1: Affected (custom)

    Update to 1.27.1

  • libbson-xs-perl Debian:12

    Versions
    • 0.8.4-2
    Affected ranges
    • ECOSYSTEM: < 0.8.4-2+deb12u1

    Update to 0.8.4-2+deb12u1

  • mongo-c-driver Debian:12

    Versions
    • 1.23.1-1
    Affected ranges
    • ECOSYSTEM: < 1.23.1-1+deb12u1

    Update to 1.23.1-1+deb12u1

  • mongo-c-driver Debian:13

    Affected ranges
    • ECOSYSTEM: < 1.27.1-1

    Update to 1.27.1-1

  • mongo-c-driver Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.27.1-1

    Update to 1.27.1-1

  • libbson Ubuntu:Pro:16.04:LTS

    Versions
    • 1.3.1-1
    • 1.3.1-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libbson Ubuntu:Pro:18.04:LTS

    Versions
    • 1.8.0-1
    • 1.8.1-1
    • 1.9.0-1
    • 1.9.2-1
    • 1.9.2-1ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mongo-c-driver Ubuntu:Pro:20.04:LTS

    Versions
    • 1.15.0-1
    • 1.15.1-1
    • 1.15.2-1
    • 1.16.0-1
    • 1.16.1-1
    • 1.16.1-1build1
    • 1.16.1-1build2
    • 1.16.1-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mongo-c-driver Ubuntu:22.04:LTS

    Versions
    • 1.18.0-1
    • 1.19.1-1
    • 1.19.2-1
    • 1.20.0-1
    • 1.20.0-1build1
    • 1.20.1-1
    • 1.21.0-1
    • 1.21.0-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mongo-c-driver Ubuntu:Pro:24.04:LTS

    Versions
    • 1.24.3-1
    • 1.24.4-1
    • 1.25.1-1
    • 1.25.2-1
    • 1.25.4-1
    • 1.26.0-1
    • 1.26.0-1.1ubuntu1
    • 1.26.0-1.1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 1.26.0-1.1ubuntu2+esm1

    Update to 1.26.0-1.1ubuntu2+esm1

Original sources

Check your server →