Vulnerability
CVE-2025-25289
@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.
13 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-2pmc-pv3v-3xfm
- CGA-3qxf-5xw5-2wcp
- CGA-8545-5w6r-vfc2
- CGA-9q77-jmhp-w7r5
- CGA-cf96-gcf5-7rg3
- CGA-cm5h-6qpq-926p
- CGA-fc5h-xvr7-p3fr
- CGA-g82x-658q-xpgc
- CGA-hf2w-5h5m-j2h9
- CGA-hxhv-2v43-3ffw
- CGA-pg6j-wcqv-4562
- CGA-r3fm-chh4-w59p
-
GHSA-xx4v-prfh-6cgc
@octokit/request-error has a Regular Expression in index that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking