CVE-2019-2386

published 6 Aug 2019 · updated 4 Aug 2024

Authorization session conflation

7.1HighCVSS 7.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Server 3.4.22, Server 3.6.13 and Server 4.0.9.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=3.4 <3.4.22, >=3.6 <3.6.13, >=4.0 <4.0.93.4.22, 3.6.13, 4.0.9

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-2386 severity on Zeptric[![CVE-2019-2386](https://zeptric.io/badge/cve/CVE-2019-2386.svg)](https://zeptric.io/cve/CVE-2019-2386)