Inefficient Regular Expression Complexity Affecting librados2 package, versions <2:19.2.1-405.el9cp


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.87% (60th 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-RHEL9-LIBRADOS2-23189237
  • published1 Dec 2026
  • disclosed8 Nov 2024

Introduced: 8 Nov 2024

CVE-2024-21538  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade RHEL:9 librados2 to version 2:19.2.1-405.el9cp or higher.
This issue was patched in RHSA-2026:61939.

NVD Description

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

Versions of the package cross-spawn before 6.0.6, from 7.0.0 and before 7.0.5 are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper input sanitization. An attacker can increase the CPU usage and crash the program by crafting a very large and well crafted string.

CVSS Base Scores

version 3.1