Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-7921

Improper serialization of internal state in the authorization subsystem in MongoDB Server's authorization subsystem permits a user with valid credentials to bypass IP whitelisting protection mechanisms following administrative action. This issue affects MongoDB Server v4.2 versions prior to 4.2.3; MongoDB Server v4.0 versions prior to 4.0.15; MongoDB Server v4.3 versions prior to 4.3.3and MongoDB Server v3.6 versions prior to 3.6.18.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-7921
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:26 UTC · Revision 1

Source evidence

CVE-2020-7921

core-osv · Original source

Published 6 May 2020, 15:15 UTC

Improper serialization of internal state in the authorization subsystem in MongoDB Server's authorization subsystem permits a user with valid credentials to bypass IP whitelisting protection mechanisms following administrative action. This issue affects MongoDB Server v4.2 versions prior to 4.2.3; MongoDB Server v4.0 versions prior to 4.0.15; MongoDB Server v4.3 versions prior to 4.3.3and MongoDB Server v3.6 versions prior to 3.6.18.

osv:CVE-2020-7921
Complete source record
{
  "id": "f08aed7109277456f47b0db2df23228c92e2677dbf66311b0519f26ee6718247",
  "url": "https://osv.dev/vulnerability/CVE-2020-7921",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-7921",
    "summary": "Improper serialization of internal state in the authorization subsystem in MongoDB Server's authorization subsystem permits a user with valid credentials to bypass IP whitelisting protection mechanisms following administrative action. This issue affects MongoDB Server v4.2 versions prior to 4.2.3; MongoDB Server v4.0 versions prior to 4.0.15; MongoDB Server v4.3 versions prior to 4.3.3and MongoDB Server v3.6 versions prior to 3.6.18.",
    "evidence": "osv:CVE-2020-7921",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-7921",
      "aliases": [
        "BIT-mongodb-2020-7921",
        "CVE-2020-7921"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mongodb/mongo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a57d8e71e6998a2d0afde7edc11bd23e5661c915"
                },
                {
                  "fixed": "2005f25eed7ed88fa698d9b800fe536bb0410ba4"
                },
                {
                  "introduced": "3b07af3d4f471ae89e8186d33bbb1d5259597d51"
                },
                {
                  "fixed": "5547f61d0abc1f81cf160f3693f741b8ce889084"
                },
                {
                  "introduced": "a4b751dcf51dd249c5865812b390cfd1c0129c30"
                },
                {
                  "fixed": "6874650b362138df74be53d366bbefc321ea32d4"
                },
                {
                  "introduced": "89e7419a897b2270931c9c029abf6de555d83e0f"
                },
                {
                  "fixed": "eca08e963444d77209f093a6137f5d70f7519e21"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.6.0"
                      },
                      {
                        "fixed": "3.6.18"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.0.15"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.2.0"
                      },
                      {
                        "fixed": "4.2.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.3.0"
                      },
                      {
                        "fixed": "4.3.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "r3.6.17-rc0",
            "r3.6.17",
            "r4.2.3-rc0",
            "r4.0.14-rc1",
            "r4.0.14",
            "r4.0.14-rc0",
            "r4.2.2-rc1",
            "r4.2.2",
            "r4.2.2-rc0",
            "r3.6.16-rc0",
            "r3.6.16",
            "r4.3.2",
            "r4.3.1",
            "r4.2.1-rc0",
            "r4.2.1",
            "r3.6.15-rc1",
            "r3.6.15",
            "r3.6.15-rc0",
            "r4.0.13-rc0",
            "r4.0.13",
            "r3.6.14-rc0",
            "r3.6.14",
            "r4.2.0",
            "r4.0.12-rc2",
            "r4.0.12",
            "r4.0.12-rc1",
            "r4.0.12-rc0",
            "r4.0.11-rc0",
            "r4.0.11",
            "r3.6.13-rc1",
            "r3.6.13",
            "r4.3.0",
            "r3.6.13-rc0",
            "r4.0.10-rc1",
            "r4.0.10",
            "r4.0.10-rc0",
            "r3.6.12-rc1",
            "r3.6.12",
            "r4.0.9-rc0",
            "r4.0.9",
            "r4.0.8-rc0",
            "r4.0.8",
            "r3.6.12-rc0",
            "r4.0.7-rc1",
            "r4.0.7",
            "r4.0.7-rc0",
            "r3.6.11-rc2",
            "r3.6.11",
            "r3.6.11-rc1",
            "r3.6.11-rc0",
            "r4.0.6-rc1",
            "r4.0.6",
            "r4.0.6-rc0",
            "r3.6.9-rc0",
            "r3.6.9",
            "r3.6.10-rc1",
            "r3.6.10",
            "r3.6.10-rc0",
            "r4.0.5-rc1",
            "r4.0.5",
            "r4.0.5-rc0",
            "r4.0.4-rc2",
            "r4.0.4",
            "r4.0.4-rc1",
            "r4.0.4-rc0",
            "r4.0.3-rc0",
            "r4.0.3",
            "r3.6.8-rc1",
            "r3.6.8",
            "r3.6.8-rc0",
            "r4.0.2-rc0",
            "r4.0.2",
            "r3.6.7-rc1",
            "r3.6.7",
            "r3.6.7-rc0",
            "r4.0.1-rc1",
            "r4.0.1",
            "r4.0.1-rc0",
            "r3.6.6-rc0",
            "r3.6.6",
            "r4.0.0",
            "r3.6.5-rc0",
            "r3.6.5",
            "r3.6.4-rc0",
            "r3.6.4",
            "r3.6.3-rc1",
            "r3.6.3",
            "r3.6.3-rc0",
            "r3.6.2-rc0",
            "r3.6.2",
            "r3.6.1-rc1",
            "r3.6.1",
            "r3.6.1-rc0",
            "r3.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7921.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-7921-0c8641fe",
                "digest": {
                  "length": 10021,
                  "function_hash": "78486403470517513513507602625303794039"
                },
                "source": "https://github.com/mongodb/mongo/commit/5547f61d0abc1f81cf160f3693f741b8ce889084",
                "target": {
                  "file": "src/mongo/db/query/index_bounds_builder.cpp",
                  "function": "IndexBoundsBuilder::translate"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-7921-7f0cfdc5",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "216047242538325188510789508059390863951",
                    "19134725029155574891208209763213239283",
                    "280350291644563600163399192870586213469",
                    "158471671787918280684621999039749177392",
                    "319252374832009046210058763182627393369",
                    "35133896178452706910239926455607150103",
                    "269683469505268152573654287813534155434",
                    "45894333507022972339205895791765184874",
                    "189017555455735371341324486703990093029",
                    "195789163172404835977769385756468802230"
                  ]
                },
                "source": "https://github.com/mongodb/mongo/commit/6874650b362138df74be53d366bbefc321ea32d4",
                "target": {
                  "file": "src/mongo/s/chunk_manager.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-7921-a8bb5b65",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "319627655637418790389422297517391553563",
                    "189784691795828970654973910444557199215",
                    "121517871084720856882554087334652170679",
                    "62740642666871806115401491643036783593"
                  ]
                },
                "source": "https://github.com/mongodb/mongo/commit/eca08e963444d77209f093a6137f5d70f7519e21",
                "target": {
                  "file": "src/mongo/db/index_builds_coordinator.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-7921-aa954409",
                "digest": {
                  "length": 2121,
                  "function_hash": "77658919316696371001354544066792061409"
                },
                "source": "https://github.com/mongodb/mongo/commit/eca08e963444d77209f093a6137f5d70f7519e21",
                "target": {
                  "file": "src/mongo/db/index_builds_coordinator.cpp",
                  "function": "IndexBuildsCoordinator::_runIndexBuildInner"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-7921-dd7a0311",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "183325986263730029783145769233746546977",
                    "123381212820886298349966924986002522067",
                    "111994179737223563519244919762904925280",
                    "20045680424455326026444037119399315791",
                    "178162148596604817171712189158769295367",
                    "175833461177246951838067897461225808701",
                    "226627054187368723268332052001371174536",
                    "80356908345382160467524557309268499395",
                    "262715759425002269926591737891800697712"
                  ]
                },
                "source": "https://github.com/mongodb/mongo/commit/5547f61d0abc1f81cf160f3693f741b8ce889084",
                "target": {
                  "file": "src/mongo/db/query/index_bounds_builder.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-7921-e602df99",
                "digest": {
                  "length": 893,
                  "function_hash": "610635629547753280401429845588597963"
                },
                "source": "https://github.com/mongodb/mongo/commit/6874650b362138df74be53d366bbefc321ea32d4",
                "target": {
                  "file": "src/mongo/s/chunk_manager.cpp",
                  "function": "ChunkManager::findIntersectingChunk"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:24:35Z"
          }
        }
      ],
      "modified": "2026-10-24T14:24:35.031517811Z",
      "provider": "osv",
      "references": [
        "https://jira.mongodb.org/browse/SERVER-45472"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "mongodb:mongodb",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.6.0"
                  },
                  {
                    "fixed": "3.6.18"
                  },
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.0.15"
                  },
                  {
                    "introduced": "4.2.0"
                  },
                  {
                    "fixed": "4.2.3"
                  },
                  {
                    "introduced": "4.3.0"
                  },
                  {
                    "fixed": "4.3.3"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-7921",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443704,
  "published_at": "2020-05-06T15:15:11.88+00:00"
}