CVE-2019-2386

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-2386
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-2386.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-2386
Downstream
Published
2019-08-06T19:15:13.613Z
Modified
2025-11-14T09:38:46.124833Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's session to persist and become conflated with new accounts, if those accounts reuse the names of deleted ones. This issue affects MongoDB Server v4.0 versions prior to 4.0.9; MongoDB Server v3.6 versions prior to 3.6.13 and MongoDB Server v3.4 versions prior to 3.4.22.

Workaround: After deleting one or more users, restart any nodes which may have had active user authorization sessions.

Refrain from creating user accounts with the same name as previously deleted accounts.

References

Affected packages

Git / github.com/mongodb/mongo

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongo
Events

Affected versions

r3.*

r3.4.0
r3.4.1
r3.4.1-rc0
r3.4.10
r3.4.10-rc0
r3.4.11
r3.4.11-rc0
r3.4.12
r3.4.12-rc0
r3.4.13
r3.4.14
r3.4.14-rc0
r3.4.15
r3.4.15-rc0
r3.4.16
r3.4.16-rc0
r3.4.17
r3.4.17-rc0
r3.4.18
r3.4.18-rc0
r3.4.19
r3.4.19-rc0
r3.4.2
r3.4.2-rc0
r3.4.20
r3.4.20-rc0
r3.4.21
r3.4.21-rc0
r3.4.3
r3.4.3-rc0
r3.4.3-rc1
r3.4.3-rc2
r3.4.4
r3.4.4-rc0
r3.4.5
r3.4.5-rc0
r3.4.5-rc1
r3.4.5-rc2
r3.4.5-rc3
r3.4.5-rc4
r3.4.6
r3.4.6-rc0
r3.4.7
r3.4.7-rc0
r3.4.8
r3.4.8-rc0
r3.4.8-rc1
r3.4.9
r3.4.9-rc0