Intel

AIKIDO-2025-10094

@octokit/endpoint is vulnerable to Regular Expression Denial of Service (ReDoS)

Regular Expression Denial of Service (ReDoS)CVE-2025-25285 Published Feb 14, 2025

71

High Risk

This Affects:

JS@octokit/endpoint
2.1.0 - 9.0.5
Fixed in 9.0.6
10.0.0 - 10.1.2
Fixed in 10.1.3
Are you affected? Scan for Free

TL;DR

Affected versions of this package improperly handle user-controlled input when parsing headers for /graphql endpoints or URL objects in general. This can lead to excessive backtracking in regular expressions, making the application vulnerable to Regular expression Denial of Service (ReDoS). Attackers can exploit this by sending specially crafted inputs that trigger high computational overhead, potentially causing severe performance degradation, system outages, or denial of service.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@octokit/endpoint is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 2.1.0 - 9.0.5 and 10.0.0 - 10.1.2.

How to fix this

Upgrade the @octokit/endpoint library to the patch version.