Inefficient Regular Expression Complexity Affecting renovate package, versions <39.174.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Exploit Maturity
Not Defined

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-RENOVATE-8732480
  • published18 Feb 2025
  • disclosed14 Feb 2025

Introduced: 14 Feb 2025

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

How to fix?

Upgrade Chainguard renovate to version 39.174.0-r0 or higher.

NVD Description

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

@octokit/endpoint turns REST API endpoints into generic request options. Starting in version 4.1.0 and prior to version 10.1.3, by crafting specific options parameters, the endpoint.parse(options) call can be triggered, leading to a regular expression denial-of-service (ReDoS) attack. This causes the program to hang and results in high CPU utilization. The issue occurs in the parse function within the parse.ts file of the npm package @octokit/endpoint. Version 10.1.3 contains a patch for the issue.