UBUNTU-CVE-2021-32050

Source
https://ubuntu.com/security/CVE-2021-32050
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32050.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-32050
Upstream
Published
2023-08-29T16:15:00Z
Modified
2025-07-14T07:00:41.077507Z
Severity
  • 4.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed. Without due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default). This issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0. This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0).

References

Affected packages

Ubuntu:Pro:16.04:LTS / php-mongodb

Package

Name
php-mongodb
Purl
pkg:deb/ubuntu/php-mongodb@1.1.5-1~build1?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

1.*

1.1.2-2~ubuntu1
1.1.5-1~build1

Ubuntu:Pro:18.04:LTS / php-mongodb

Package

Name
php-mongodb
Purl
pkg:deb/ubuntu/php-mongodb@1.3.4-1build1?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

1.*

1.2.3-1build1
1.3.4-1build1

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:Pro:20.04:LTS / node-mongodb

Package

Name
node-mongodb
Purl
pkg:deb/ubuntu/node-mongodb@3.5.5+~3.2.7-1?arch=source&distro=esm-apps/focal

Affected ranges

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

Affected versions

3.*

3.3.1+~3.2.7-1
3.3.2+~3.2.7-1
3.3.3+~3.2.7-1
3.3.5+~3.2.7-1
3.4.0+~3.2.7-1
3.4.1+~3.2.7-1
3.5.0+~3.2.7-1
3.5.2+~3.2.7-1
3.5.3+~3.2.7-1
3.5.5+~3.2.7-1

Ubuntu:Pro:20.04:LTS / php-mongodb

Package

Name
php-mongodb
Purl
pkg:deb/ubuntu/php-mongodb@1.6.1-4build1?arch=source&distro=esm-apps/focal

Affected ranges

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

Affected versions

1.*

1.5.5-1build1
1.6.1-4
1.6.1-4build1

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
Fixed
1.21.0-1build1

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

Ecosystem specific

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

Ubuntu:22.04:LTS / node-mongodb

Package

Name
node-mongodb
Purl
pkg:deb/ubuntu/node-mongodb@3.6.4+~cs11.13.19-2?arch=source&distro=jammy

Affected ranges

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

Affected versions

3.*

3.6.4+~cs11.13.19-1
3.6.4+~cs11.13.19-2

Ubuntu:22.04:LTS / php-mongodb

Package

Name
php-mongodb
Purl
pkg:deb/ubuntu/php-mongodb@1.12.0+1.9.2+1.7.5-4?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*

1.9.0+1.7.5-2build2
1.11.1+1.9.2+1.7.5-4
1.12.0+1.9.2+1.7.5-3
1.12.0+1.9.2+1.7.5-4

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
Fixed
1.26.0-1.1ubuntu2

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

Ecosystem specific

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

Ubuntu:24.04:LTS / node-mongodb

Package

Name
node-mongodb
Purl
pkg:deb/ubuntu/node-mongodb@3.6.4+~cs11.13.19-2?arch=source&distro=noble

Affected ranges

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

Affected versions

3.*

3.6.4+~cs11.13.19-2

Ubuntu:24.04:LTS / php-mongodb

Package

Name
php-mongodb
Purl
pkg:deb/ubuntu/php-mongodb@1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*

1.15.0+1.11.1+1.9.2+1.7.5-1build1
1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu1
1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu2
1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3

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"
        }
    ]
}

Ubuntu:25.04 / node-mongodb

Package

Name
node-mongodb
Purl
pkg:deb/ubuntu/node-mongodb@3.6.4+~cs11.13.19-2?arch=source&distro=plucky

Affected ranges

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

Affected versions

3.*

3.6.4+~cs11.13.19-2

Ubuntu:25.04 / php-mongodb

Package

Name
php-mongodb
Purl
pkg:deb/ubuntu/php-mongodb@1.21.0-1?arch=source&distro=plucky

Affected ranges

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

Affected versions

1.*

1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3
1.20.1-1
1.21.0-1