Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libbson-xs-perl package, versions <0.8.4-2+deb12u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.14% (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-DEBIAN12-LIBBSONXSPERL-10006639
  • published4 May 2025
  • disclosed12 Jan 2024

Introduced: 12 Jan 2024

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

How to fix?

Upgrade Debian:12 libbson-xs-perl to version 0.8.4-2+deb12u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libbson-xs-perl package and not the libbson-xs-perl package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1