UBUNTU-CVE-2024-6381

Source
https://ubuntu.com/security/CVE-2024-6381
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6381.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-6381
Related
Published
2024-07-02T18:15:00Z
Modified
2025-04-23T14:54:46Z
Summary
[none]
Details

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

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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver@1.16.1-1build2?arch=source&distro=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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / mongo-c-driver

Package

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

Affected ranges

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

Affected versions

1.*

1.26.0-1.1ubuntu2
1.27.4-1
1.27.5-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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

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
1.30.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}