{"id":"CVE-2020-7921","details":"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.","aliases":["BIT-mongodb-2020-7921"],"modified":"2026-04-11T13:53:27.785629Z","published":"2020-05-06T15:15:11.880Z","references":[{"type":"FIX","url":"https://jira.mongodb.org/browse/SERVER-45472"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/mongo","events":[{"introduced":"a57d8e71e6998a2d0afde7edc11bd23e5661c915"},{"fixed":"2005f25eed7ed88fa698d9b800fe536bb0410ba4"},{"introduced":"3b07af3d4f471ae89e8186d33bbb1d5259597d51"},{"fixed":"5547f61d0abc1f81cf160f3693f741b8ce889084"},{"introduced":"a4b751dcf51dd249c5865812b390cfd1c0129c30"},{"fixed":"6874650b362138df74be53d366bbefc321ea32d4"},{"introduced":"89e7419a897b2270931c9c029abf6de555d83e0f"},{"fixed":"eca08e963444d77209f093a6137f5d70f7519e21"}],"database_specific":{"versions":[{"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"}]}}],"versions":["r3.6.0","r3.6.1","r3.6.1-rc0","r3.6.1-rc1","r3.6.10","r3.6.10-rc0","r3.6.10-rc1","r3.6.11","r3.6.11-rc0","r3.6.11-rc1","r3.6.11-rc2","r3.6.12","r3.6.12-rc0","r3.6.12-rc1","r3.6.13","r3.6.13-rc0","r3.6.13-rc1","r3.6.14","r3.6.14-rc0","r3.6.15","r3.6.15-rc0","r3.6.15-rc1","r3.6.16","r3.6.16-rc0","r3.6.17","r3.6.17-rc0","r3.6.2","r3.6.2-rc0","r3.6.3","r3.6.3-rc0","r3.6.3-rc1","r3.6.4","r3.6.4-rc0","r3.6.5","r3.6.5-rc0","r3.6.6","r3.6.6-rc0","r3.6.7","r3.6.7-rc0","r3.6.7-rc1","r3.6.8","r3.6.8-rc0","r3.6.8-rc1","r3.6.9","r3.6.9-rc0","r4.0.0","r4.0.1","r4.0.1-rc0","r4.0.1-rc1","r4.0.10","r4.0.10-rc0","r4.0.10-rc1","r4.0.11","r4.0.11-rc0","r4.0.12","r4.0.12-rc0","r4.0.12-rc1","r4.0.12-rc2","r4.0.13","r4.0.13-rc0","r4.0.14","r4.0.14-rc0","r4.0.14-rc1","r4.0.2","r4.0.2-rc0","r4.0.3","r4.0.3-rc0","r4.0.4","r4.0.4-rc0","r4.0.4-rc1","r4.0.4-rc2","r4.0.5","r4.0.5-rc0","r4.0.5-rc1","r4.0.6","r4.0.6-rc0","r4.0.6-rc1","r4.0.7","r4.0.7-rc0","r4.0.7-rc1","r4.0.8","r4.0.8-rc0","r4.0.9","r4.0.9-rc0","r4.2.0","r4.2.1","r4.2.1-rc0","r4.2.2","r4.2.2-rc0","r4.2.2-rc1","r4.2.3-rc0","r4.3.0","r4.3.1","r4.3.2"],"database_specific":{"vanir_signatures_modified":"2026-04-11T13:53:27Z","vanir_signatures":[{"target":{"file":"src/mongo/db/query/index_bounds_builder.cpp","function":"IndexBoundsBuilder::translate"},"source":"https://github.com/mongodb/mongo/commit/5547f61d0abc1f81cf160f3693f741b8ce889084","signature_type":"Function","digest":{"function_hash":"78486403470517513513507602625303794039","length":10021},"deprecated":false,"signature_version":"v1","id":"CVE-2020-7921-0c8641fe"},{"target":{"file":"src/mongo/s/chunk_manager.cpp"},"source":"https://github.com/mongodb/mongo/commit/6874650b362138df74be53d366bbefc321ea32d4","signature_type":"Line","digest":{"line_hashes":["216047242538325188510789508059390863951","19134725029155574891208209763213239283","280350291644563600163399192870586213469","158471671787918280684621999039749177392","319252374832009046210058763182627393369","35133896178452706910239926455607150103","269683469505268152573654287813534155434","45894333507022972339205895791765184874","189017555455735371341324486703990093029","195789163172404835977769385756468802230"],"threshold":0.9},"deprecated":false,"signature_version":"v1","id":"CVE-2020-7921-7f0cfdc5"},{"target":{"file":"src/mongo/db/index_builds_coordinator.cpp"},"source":"https://github.com/mongodb/mongo/commit/eca08e963444d77209f093a6137f5d70f7519e21","signature_type":"Line","digest":{"line_hashes":["319627655637418790389422297517391553563","189784691795828970654973910444557199215","121517871084720856882554087334652170679","62740642666871806115401491643036783593"],"threshold":0.9},"deprecated":false,"signature_version":"v1","id":"CVE-2020-7921-a8bb5b65"},{"target":{"file":"src/mongo/db/index_builds_coordinator.cpp","function":"IndexBuildsCoordinator::_runIndexBuildInner"},"source":"https://github.com/mongodb/mongo/commit/eca08e963444d77209f093a6137f5d70f7519e21","signature_type":"Function","digest":{"function_hash":"77658919316696371001354544066792061409","length":2121},"deprecated":false,"signature_version":"v1","id":"CVE-2020-7921-aa954409"},{"target":{"file":"src/mongo/db/query/index_bounds_builder.cpp"},"source":"https://github.com/mongodb/mongo/commit/5547f61d0abc1f81cf160f3693f741b8ce889084","signature_type":"Line","digest":{"line_hashes":["183325986263730029783145769233746546977","123381212820886298349966924986002522067","111994179737223563519244919762904925280","20045680424455326026444037119399315791","178162148596604817171712189158769295367","175833461177246951838067897461225808701","226627054187368723268332052001371174536","80356908345382160467524557309268499395","262715759425002269926591737891800697712"],"threshold":0.9},"deprecated":false,"signature_version":"v1","id":"CVE-2020-7921-dd7a0311"},{"target":{"file":"src/mongo/s/chunk_manager.cpp","function":"ChunkManager::findIntersectingChunk"},"source":"https://github.com/mongodb/mongo/commit/6874650b362138df74be53d366bbefc321ea32d4","signature_type":"Function","digest":{"function_hash":"610635629547753280401429845588597963","length":893},"deprecated":false,"signature_version":"v1","id":"CVE-2020-7921-e602df99"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7921.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}