Loop with Unreachable Exit Condition ('Infinite Loop') Affecting grafana12.4 package, versions <0:12.4.6-0.2.hum1


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.32% (25th 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-RHEL10-GRAFANA124-18609524
  • published11 Aug 2026
  • disclosed29 Jul 2026

Introduced: 29 Jul 2026

NewCVE-2026-67213  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade RHEL:10 grafana12.4 to version 0:12.4.6-0.2.hum1 or higher.
This issue was patched in RHSA-2026:47619.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grafana12.4 package and not the grafana12.4 package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

nanoid (Nano ID) before 5.1.6 contains an infinite loop in the customAlphabet and customRandom functions. When these functions are configured with a size of 0, the internal generation loop never satisfies its exit condition and spins indefinitely, hanging the calling thread. An application that passes an unvalidated, attacker-controlled size of 0 to these functions is exposed to a denial-of-service condition.

CVSS Base Scores

version 3.1