Skip to content
OpenAdvisories
High · 7.1 CVE-2019-2386 EUVD-2019-12028GHSA-gqrr-9cvj-jrrq

Authorization session conflation

Published Aug 6, 2019 · Updated Aug 4, 2024 · Assigned by mongodb

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.

Affected products

VendorProductAffectedFixed
MongoDB MongoDB Server 4.0 – < 4.0.9, 3.6 – < 3.6.13, 3.4 – < 3.4.22 4.0.9

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS mongodb 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2 USN-5052-1
Ubuntu 18.04 LTS mongodb 1:3.6.3-0ubuntu1.3 USN-5052-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS mongodb No fix yet —
Ubuntu Pro 14.04 LTS mongodb No fix yet —

Advisories 1

References