Loop with Unreachable Exit Condition ('Infinite Loop') Affecting mongo-c-driver package, versions [,1.26.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.76% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-MONGOCDRIVER-10077690
  • published8 May 2025
  • disclosed12 Jan 2024
  • creditUnknown

Introduced: 12 Jan 2024

CVE-2023-0437  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade mongo-c-driver to version 1.26.2 or higher.

Overview

Affected versions of this package are vulnerable to Loop with Unreachable Exit Condition ('Infinite Loop') due to an issue in the bson_utf8_validate function. An attacker can cause a denial of service by providing inputs that trigger an infinite loop.

CVSS Base Scores

version 3.1