CVE-2025-25290
Description
@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.
Description as published by the source, in English.
Key facts
- Published
- 2025-02-14
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.8 %
higher than 52 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| octokit | request (npm) | ≥ 1.0.0, < 8.4.1 | Affected |
| octokit | request (npm) | ≥ 9.0.0-beta.1, < 9.2.1 | Affected |
Weakness type
-
CWE-1333: Inefficient Regular Expression Complexity
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
References
- https://github.com/octokit/request.js/commit/34ff07ee86fc5c20865982d77391bc910ef19c68
- https://github.com/octokit/request.js/commit/356411e3217019aa9fc8a68f4236af82490873c2
- https://github.com/octokit/request.js/commit/6bb29ba92a52f7bf94469c3433707c682c17126c
- https://github.com/octokit/request.js/releases/tag/v8.4.1
- https://github.com/octokit/request.js/releases/tag/v9.2.1
- https://github.com/octokit/request.js/security/advisories/GHSA-rmvr-2pp2-xj38
Related at Berigo
Articles
-
Australia says an OpenAI agent reached non-public files on a government portal
Same product
2026-09-26
On 24 September 2026 Prime Minister Anthony Albanese said an OpenAI research agent gained unauthorised access to a Services Australia statistics port…
-
An unauthenticated request could read files off a GitLab server
Same product
2026-09-26
On 10 September 2026 GitLab patched a CVSS 10.0 flaw that, under certain conditions, let an unauthenticated user read files from the server. A day la…
-
Invisible characters hidden inside words carry phishing past the email filter
Same product
2026-09-26
Microsoft has tracked a finance themed phishing campaign that placed invisible Unicode tag characters inside words such as "funding", so that filters…
-
Seven new KEV entries, three of them in open developer components
Same product
2026-09-03
CISA added seven new vulnerabilities to its Known Exploited Vulnerabilities catalogue on 2 September 2026. Three of them sit in open components used …
Services
-
DPO as a Service
Berigo offers DPO as a Service, an independent data protection officer function that meets the requirements of GDPR Articles 37 to 39, without the ne…
-
Get Certified in the NIS 2 Directive: Foundation Course
A two-day foundation course on the NIS 2 Directive that gives you the baseline competence to understand the requirements, identify measures and play …
-
Establish documented GDPR compliance and privacy governance
Practical GDPR compliance and a privacy information management system under ISO/IEC 27701. From a bounded gap assessment to full implementation and c…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.