p PatchFirst

CVE-2024-6381

CVE-2024-6381 · MongoDB C Driver bson_strfreev may be susceptible to integer overflow

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

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

CVSS 4.0 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • libbson

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

    Update to 1.26.2

  • 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.26.2-1

    Update to 1.26.2-1

  • mongo-c-driver Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.26.2-1

    Update to 1.26.2-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
    Affected ranges
    • ECOSYSTEM: < 1.16.1-1ubuntu0.1~esm1

    Update to 1.16.1-1ubuntu0.1~esm1

  • mongo-c-driver Ubuntu:Pro: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: < 1.21.0-1ubuntu0.1~esm1

    Update to 1.21.0-1ubuntu0.1~esm1

  • 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 →