CVE-2021-32050

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32050
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32050.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-32050
Aliases
Related
Published
2023-08-29T16:15:08Z
Modified
2024-10-12T07:32:05.207255Z
Severity
  • 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
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

Debian:11 / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/debian/mongo-c-driver?arch=source

Affected ranges

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

Affected versions

1.*

1.17.6-1
1.18.0-1
1.19.0-1
1.19.1-1
1.19.2-1
1.20.0-1
1.20.1-1
1.21.0-1
1.21.1-1
1.21.2-1
1.22.0-1
1.22.1-1
1.22.1-1+riscv64
1.23.0-1
1.23.1-1
1.24.1-1
1.24.2-1
1.24.3-1
1.24.4-1
1.25.0-1
1.25.1-1
1.25.2-1
1.25.4-1
1.25.4-1.1~exp1
1.26.0-1
1.26.0-1.1~exp1
1.26.0-1.1
1.26.1-1
1.26.2-1
1.27.0-1
1.27.1-1
1.27.2-1
1.27.3-1
1.27.4-1
1.27.5-1
1.27.6-1
1.28.0-1
1.28.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/debian/mongo-c-driver?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/debian/mongo-c-driver?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / node-mongodb

Package

Name
node-mongodb
Purl
pkg:deb/debian/node-mongodb?arch=source

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / node-mongodb

Package

Name
node-mongodb
Purl
pkg:deb/debian/node-mongodb?arch=source

Affected ranges

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

Affected versions

3.*

3.6.4+~cs11.13.19-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / php-mongodb

Package

Name
php-mongodb
Purl
pkg:deb/debian/php-mongodb?arch=source

Affected ranges

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

Affected versions

1.*

1.9.0+1.7.5-2
1.11.1+1.9.2+1.7.5-4
1.12.0+1.9.2+1.7.5-2
1.12.0+1.9.2+1.7.5-3
1.12.0+1.9.2+1.7.5-4
1.15.0+1.11.1+1.9.2+1.7.5-1~exp3
1.15.0+1.11.1+1.9.2+1.7.5-1
1.19.3-1
1.19.4-2
1.19.4-3~exp2
1.19.4-3~exp3
1.19.4-3~exp4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / php-mongodb

Package

Name
php-mongodb
Purl
pkg:deb/debian/php-mongodb?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.1+1.9.2+1.7.5-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / php-mongodb

Package

Name
php-mongodb
Purl
pkg:deb/debian/php-mongodb?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.1+1.9.2+1.7.5-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/mongodb/mongo-c-driver

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongo-c-driver
Events
Type
GIT
Repo
https://github.com/mongodb/mongo-php-driver
Events

Affected versions

1.*

1.0.0
1.0.1
1.0.2
1.1.0
1.1.0-rc0
1.1.1
1.1.10
1.1.11
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.1.8
1.1.9
1.11.0
1.17.0
1.17.0-beta
1.17.0-beta2
1.17.0-rc0
1.17.1
1.17.2
1.17.3
1.17.4
1.17.5
1.17.6
1.2.0
1.2.0-beta
1.2.0-beta1
1.2.0-rc0
1.2.0alpha1
1.2.0alpha2
1.2.0alpha3
1.2.1
1.2.10
1.2.11
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.2.7
1.2.8
1.2.9
1.3.0
1.3.0-rc0
1.3.0RC1
1.3.0beta1
1.3.0beta2
1.3.1
1.3.2
1.3.3
1.3.4
1.4.0
1.4.0-beta1
1.4.0RC1
1.4.0RC2
1.4.0beta1
1.4.1
1.4.2
1.4.3
1.4.4
1.5.0
1.5.0-rc0
1.5.0-rc1
1.5.0-rc2
1.5.0-rc3
1.5.0-rc4
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.6.0
1.6.0-rc0
1.6.0RC1
1.6.0alpha1
1.6.0alpha2
1.6.0alpha3
1.6.1
1.7.0
1.7.0-rc0
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.8.0
1.8.0RC1
1.8.0beta1
1.8.0beta2
1.8.1
1.8.2
1.9.0
1.9.0-RC1
1.9.0-rc0
1.9.0-rc1
1.9.1

debian/1.*

debian/1.17.0-1
debian/1.17.2-1
debian/1.17.3-1
debian/1.17.4-1
debian/1.17.5-1
debian/1.17.6-1