Inefficient Regular Expression Complexity Affecting lerna package, versions <8.2.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (19th 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-LERNA-9058177
  • published5 Mar 2025
  • disclosed14 Feb 2025

Introduced: 14 Feb 2025

NewCVE-2025-25289  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Chainguard lerna to version 8.2.1-r0 or higher.

NVD Description

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

@octokit/request-error is an error class for Octokit request errors. Starting in version 1.0.0 and prior to version 6.1.7, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the processing of HTTP request headers. By sending an authorization header containing an excessively long sequence of spaces followed by a newline and "@", an attacker can exploit inefficient regular expression processing, leading to excessive resource consumption. This can significantly degrade server performance or cause a denial-of-service (DoS) condition, impacting availability. Version 6.1.7 contains a fix for the issue.