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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (36th 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-UNMANAGED-MONGODBMONGOCDRIVER-6156642
  • published14 Jan 2024
  • 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 mongodb/mongo-c-driver to version 1.25.0 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