CVE-2019-2386

HIGHCVSS 7.1/10EPSS 1.23%

Last modified

CVE-2019-2386 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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.. EPSS estimates a 1.23% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
7.1/10

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
1.23%

65.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
MongodbMongodb>= 3.4.0, < 3.4.22
MongodbMongodb>= 3.6.0, < 3.6.13
MongodbMongodb>= 4.0.0, < 4.0.9

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-2386?
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.
How severe is CVE-2019-2386?
CVE-2019-2386 has a CVSS score of 7.1/10 (HIGH severity). The EPSS model estimates a 1.23% probability of exploitation in the next 30 days.
How do I fix CVE-2019-2386?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-2386?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST