UBUNTU-CVE-2024-6383

Source
https://ubuntu.com/security/CVE-2024-6383
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6383.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-6383
Upstream
Downstream
Related
Published
2024-07-03T22:15:00Z
Modified
2025-07-16T08:30:52.771509Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

The bsonstringappend 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

References

Affected packages

Ubuntu:Pro:16.04:LTS / libbson

Package

Name
libbson
Purl
pkg:deb/ubuntu/libbson@1.3.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.3.1-1
1.3.1-1ubuntu0.1~esm1

Ubuntu:Pro:18.04:LTS / libbson

Package

Name
libbson
Purl
pkg:deb/ubuntu/libbson@1.9.2-1ubuntu0.1~esm2?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.8.0-1
1.8.1-1
1.9.0-1
1.9.2-1
1.9.2-1ubuntu0.1~esm2

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

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.16.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

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

Ubuntu:22.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.21.0-1build1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

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

Ubuntu:24.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.26.0-1.1ubuntu2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

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

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

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.26.0-1.1ubuntu2+esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.26.0-1.1ubuntu2+esm1

Affected versions

1.*

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

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "libbson-1.0-0t64",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
        },
        {
            "binary_name": "libbson-1.0-0t64-dbgsym",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
        },
        {
            "binary_name": "libbson-dev",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
        },
        {
            "binary_name": "libbson-doc",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
        },
        {
            "binary_name": "libmongoc-1.0-0t64",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
        },
        {
            "binary_name": "libmongoc-1.0-0t64-dbgsym",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
        },
        {
            "binary_name": "libmongoc-dev",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
        },
        {
            "binary_name": "libmongoc-doc",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
        }
    ]
}

Ubuntu:25.04 / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.30.2-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.30.2-1

Affected versions

1.*

1.27.5-1
1.28.1-1
1.29.0-1
1.29.1-1
1.29.2-1
1.30.0-1
1.30.1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libbson-1.0-0t64",
            "binary_version": "1.30.2-1"
        },
        {
            "binary_name": "libbson-1.0-0t64-dbgsym",
            "binary_version": "1.30.2-1"
        },
        {
            "binary_name": "libbson-dev",
            "binary_version": "1.30.2-1"
        },
        {
            "binary_name": "libbson-doc",
            "binary_version": "1.30.2-1"
        },
        {
            "binary_name": "libmongoc-1.0-0t64",
            "binary_version": "1.30.2-1"
        },
        {
            "binary_name": "libmongoc-1.0-0t64-dbgsym",
            "binary_version": "1.30.2-1"
        },
        {
            "binary_name": "libmongoc-dev",
            "binary_version": "1.30.2-1"
        },
        {
            "binary_name": "libmongoc-doc",
            "binary_version": "1.30.2-1"
        }
    ]
}