ubuntu-cve-2019-2386
Vulnerability from osv_ubuntu
Published
2019-08-06 19:15
Modified
2026-04-22 07:38
Summary
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "mongodb",
            "binary_version": "1:2.4.9-1ubuntu2+esm2"
          },
          {
            "binary_name": "mongodb-clients",
            "binary_version": "1:2.4.9-1ubuntu2+esm2"
          },
          {
            "binary_name": "mongodb-server",
            "binary_version": "1:2.4.9-1ubuntu2+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "mongodb",
        "purl": "pkg:deb/ubuntu/mongodb@1:2.4.9-1ubuntu2+esm2?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:2.4.6-0ubuntu5",
        "1:2.4.6-0ubuntu6",
        "1:2.4.8-1ubuntu1",
        "1:2.4.8-2",
        "1:2.4.9-1",
        "1:2.4.9-1ubuntu1",
        "1:2.4.9-1ubuntu2",
        "1:2.4.9-1ubuntu2+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "mongodb",
            "binary_version": "1:2.6.10-0ubuntu1+esm2"
          },
          {
            "binary_name": "mongodb-clients",
            "binary_version": "1:2.6.10-0ubuntu1+esm2"
          },
          {
            "binary_name": "mongodb-server",
            "binary_version": "1:2.6.10-0ubuntu1+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "mongodb",
        "purl": "pkg:deb/ubuntu/mongodb@1:2.6.10-0ubuntu1+esm2?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:2.6.10-0ubuntu1",
        "1:2.6.10-0ubuntu1+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "mongodb",
            "binary_version": "1:3.6.3-0ubuntu1.3"
          },
          {
            "binary_name": "mongodb-clients",
            "binary_version": "1:3.6.3-0ubuntu1.3"
          },
          {
            "binary_name": "mongodb-server",
            "binary_version": "1:3.6.3-0ubuntu1.3"
          },
          {
            "binary_name": "mongodb-server-core",
            "binary_version": "1:3.6.3-0ubuntu1.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "mongodb",
        "purl": "pkg:deb/ubuntu/mongodb@1:3.6.3-0ubuntu1.3?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:3.6.3-0ubuntu1.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.4.7-1",
        "1:3.4.7-1ubuntu1",
        "1:3.4.7-1ubuntu2",
        "1:3.4.7-1ubuntu4",
        "1:3.4.14-3ubuntu1",
        "1:3.4.14-3ubuntu2",
        "1:3.6.3-0ubuntu1",
        "1:3.6.3-0ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "mongodb",
            "binary_version": "1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2"
          },
          {
            "binary_name": "mongodb-clients",
            "binary_version": "1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2"
          },
          {
            "binary_name": "mongodb-server",
            "binary_version": "1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2"
          },
          {
            "binary_name": "mongodb-server-core",
            "binary_version": "1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "mongodb",
        "purl": "pkg:deb/ubuntu/mongodb@1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu2",
        "1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5"
      ]
    }
  ],
  "aliases": [],
  "details": "After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user\u0027s 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.",
  "id": "UBUNTU-CVE-2019-2386",
  "modified": "2026-04-22T07:38:50Z",
  "published": "2019-08-06T19:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2019-2386"
    },
    {
      "type": "REPORT",
      "url": "https://jira.mongodb.org/browse/SERVER-38984"
    },
    {
      "type": "REPORT",
      "url": "https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0829"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5052-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2019-2386"
    }
  ],
  "related": [
    "USN-5052-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2019-2386"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…