{"id":"CVE-2023-0437","state":"PUBLISHED","title":"MongoDB client C Driver may infinitely loop when validating certain BSON input data","description":"When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. an infinite loop. This issue affects All MongoDB C Driver versions prior to versions 1.25.0.","publishedAt":"2024-01-12T13:33:39.503Z","updatedAt":"2025-11-03T19:27:57.046Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"mongodb"},"assigner":"mongodb","products":["MongoDB Inc MongoDB C Driver"],"affected":[{"vendor":"MongoDB Inc","product":"MongoDB C Driver","defaultStatus":"unaffected","versions":[{"version":"1.0.0","status":"affected","lessThan":"1.25.0","versionType":"custom"}]}],"references":["https://jira.mongodb.org/browse/CDRIVER-4747","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GUVOAFZFSYTNBF6R7H4XJM5DHWBRQ6P/","https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html","https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html"],"weaknesses":["CWE-835"],"ingestedAt":"2026-10-29T20:05:36.141Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/0xxx/CVE-2023-0437.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-0437","state":"PUBLISHED","datePublished":"2024-01-12T13:33:39.503Z","dateUpdated":"2025-11-03T19:27:57.046Z","assignerShortName":"mongodb","assignerOrgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateReserved":"2023-01-23T11:11:02.350Z"},"containers":{"cna":{"title":"MongoDB client C Driver may infinitely loop when validating certain BSON input data","descriptions":[{"lang":"en","value":"When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. an infinite loop. This issue affects All MongoDB C Driver versions prior to versions 1.25.0."}],"affected":[{"vendor":"MongoDB Inc","product":"MongoDB C Driver","defaultStatus":"unaffected","versions":[{"version":"1.0.0","status":"affected","lessThan":"1.25.0","versionType":"custom"}]}],"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-4747"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GUVOAFZFSYTNBF6R7H4XJM5DHWBRQ6P/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-835","description":"CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mongodb","orgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateUpdated":"2024-01-24T03:06:26.169Z"},"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"selmelc"}],"datePublic":"2024-01-12T14:13:00.000Z","source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-4747","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GUVOAFZFSYTNBF6R7H4XJM5DHWBRQ6P/","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T19:27:57.046Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"mongodb","product":"c_driver","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.25.0","versionType":"custom"}],"cpes":["cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-01-17T17:59:44.056559Z","id":"CVE-2023-0437","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-15T16:58:13.664Z"}}]}}}