Inefficient Regular Expression Complexity Affecting prism package, versions <5.14.3-r8


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.16% (37th 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 Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-PRISM-15364876
  • published28 Feb 2026
  • disclosed14 Feb 2025

Introduced: 14 Feb 2025

CVE-2025-25290  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Chainguard prism to version 5.14.3-r8 or higher.

NVD Description

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

@octokit/request sends parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node. Starting in version 1.0.0 and prior to versions 9.2.1 and 8.4.1, the regular expression /&lt;([^&gt;]+)&gt;; rel=&#34;deprecation&#34;/ used to match the link header in HTTP responses is vulnerable to a ReDoS (Regular Expression Denial of Service) attack. This vulnerability arises due to the unbounded nature of the regex's matching behavior, which can lead to catastrophic backtracking when processing specially crafted input. An attacker could exploit this flaw by sending a malicious link header, resulting in excessive CPU usage and potentially causing the server to become unresponsive, impacting service availability. Versions 9.2.1 and 8.4.1 fix the issue.

CVSS Base Scores

version 3.1