CVE-2025-25290 json
@octokit/request has a Regular Expression in fetchWrapper that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking
published 2025-02-14 20 mo ago modified 2026-09-10 1 mo ago also GHSA-rmvr-2pp2-xj38 , EUVD-2025-4104
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
@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 `/<([^>]+)>; rel="deprecation"/` 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.
Patch / fix
- npm @octokit/request 8.4.1, 9.2.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-25290 updated cvss 5.3
octokit/request: @octokit/request has a Regular Expression in fetchWrapper that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking
-
Red Hat Multicluster Engine for Kubernetes multicluster-engine/multicluster-engine-console-mce-rhel9 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel8 Red Hat Developer Hub 1 rhdh-hub-rhel9 Red Hat Integration Camel K 1 io.apicurio-apicurio-registry io.apicurio-apicurio-registry Red Hat OpenShift Container Platform 4 openshift4/ose-console Red Hat OpenShift Dev Spaces devspaces/code-rhel8affected: no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform Expansion Pack org.keycloak-keycloak-parent org.keycloak-keycloak-parentnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @octokit/request | >=9.0.0-beta.1, <9.2.1 >=1.0.0, <8.4.1 |
9.2.1 8.4.1 |
Affected products
- octokit request.js
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/octokit/request.js/commit/34ff07ee86fc5c20865982d77391bc910ef19c68
web
-
github.com
/octokit/request.js/commit/356411e3217019aa9fc8a68f4236af82490873c2
web
-
github.com
/octokit/request.js/commit/6bb29ba92a52f7bf94469c3433707c682c17126c
web
-
github.com
/octokit/request.js/security/advisories/GHSA-rmvr-2pp2-xj38
web
-
github.com
/octokit/request.js/releases/tag/v8.4.1
web
-
github.com
/octokit/request.js/releases/tag/v9.2.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-25290
advisory
-
github.com
/octokit/request.js
package
Sources
- CVE List CVE-2025-25290
- GitHub Advisory GHSA-rmvr-2pp2-xj38
- NVD CVE-2025-25290
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.