p PatchFirst

CVE-2021-32050

CVE-2021-32050 · Some MongoDB Drivers may publish events containing authentication-related data to a command listener configured by an application

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

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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).

CVSS 4.2 · Medium · EPSS 0.6% · Fix available

Published
Updated

Stack: system · php · node

Affected products and versions

  • mongodb c driver

    Versions
    • ≥ 1.0.0, < 1.17.7: Affected (custom)

    Update to 1.17.7

  • mongodb c++ driver

    Versions
    • ≥ 3.0.0, < 3.7.0: Affected (custom)

    Update to 3.7.0

  • mongodb php driver

    Versions
    • ≥ 1.0.0, < 1.9.2: Affected (custom)

    Update to 1.9.2

  • mongodb swift driver

    Versions
    • ≥ 1.0.0, < 1.1.1: Affected (custom)

    Update to 1.1.1

  • mongodb node.js driver

    Versions
    • ≥ 3.6, < 3.6.10: Affected (custom)
    • ≥ 4.0, < 4.17.0: Affected (custom)
    • ≥ 5.0, < 5.8.0: Affected (custom)

    Update to 3.6.10; Update to 4.17.0; Update to 5.8.0

  • mongo-c-driver Debian:12

    Affected ranges
    • ECOSYSTEM: < 1.18.0-1

    Update to 1.18.0-1

  • mongo-c-driver Debian:13

    Affected ranges
    • ECOSYSTEM: < 1.18.0-1

    Update to 1.18.0-1

  • mongo-c-driver Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.18.0-1

    Update to 1.18.0-1

  • node-mongodb Debian:12

    Versions
    • 3.6.4+~cs11.13.19-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-mongodb Debian:12

    Affected ranges
    • ECOSYSTEM: < 1.11.1+1.9.2+1.7.5-4

    Update to 1.11.1+1.9.2+1.7.5-4

  • php-mongodb Debian:13

    Affected ranges
    • ECOSYSTEM: < 1.11.1+1.9.2+1.7.5-4

    Update to 1.11.1+1.9.2+1.7.5-4

  • php-mongodb Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.11.1+1.9.2+1.7.5-4

    Update to 1.11.1+1.9.2+1.7.5-4

  • mongodb/mongodb Packagist

    Versions
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.0.5
    • 1.1.0
    • 1.1.0-alpha1
    • 1.1.1
    • 1.1.2
    • 1.2.0
    • 1.2.0-alpha1
    • 1.3.0
    • 1.3.1
    • 1.3.2
    • 1.4.0
    • 1.4.1
    • 1.4.2
    • 1.4.3
    • 1.5.0
    • 1.5.1
    • 1.5.2
    • 1.6.0
    • 1.6.1
    • 1.7.0
    • 1.7.0-beta1
    • 1.7.0-beta2
    • 1.7.0-rc1
    • 1.7.1
    • 1.7.2
    • 1.8.0
    • 1.8.0-RC1
    • 1.9.0
    • 1.9.0-alpha1
    Affected ranges
    • ECOSYSTEM: ≥ 1.0.0, < 1.9.2

    Update to 1.9.2

  • mongodb npm

    Affected ranges
    • SEMVER: ≥ 3.6.0, < 3.6.10

    Update to 3.6.10

  • mongodb npm

    Affected ranges
    • SEMVER: ≥ 4.0.0, < 4.17.0

    Update to 4.17.0

  • mongodb npm

    Affected ranges
    • SEMVER: ≥ 5.0.0, < 5.8.0

    Update to 5.8.0

  • github.com/mongodb/mongo-swift-driver SwiftURL

    Affected ranges
    • SEMVER: ≥ 1.0.0, < 1.1.1

    Update to 1.1.1

  • php-mongodb Ubuntu:16.04:LTS

    Versions
    • 1.1.2-2~ubuntu1
    • 1.1.5-1~build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-mongodb Ubuntu:18.04:LTS

    Versions
    • 1.2.3-1build1
    • 1.3.4-1build1
    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

  • node-mongodb Ubuntu:20.04:LTS

    Versions
    • 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
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-mongodb Ubuntu:20.04:LTS

    Versions
    • 1.5.5-1build1
    • 1.6.1-4
    • 1.6.1-4build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-mongodb Ubuntu:22.04:LTS

    Versions
    • 3.6.4+~cs11.13.19-1
    • 3.6.4+~cs11.13.19-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-mongodb Ubuntu:22.04:LTS

    Versions
    • 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
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →