{"id":"CVE-2025-25290","published":"2025-02-14T19:37:47Z","modified":"2026-01-16T17:29:06Z","title":"@octokit/request has a Regular Expression in fetchWrapper that Leads to ReDoS Vulnerability Due to Catastrophic…","vendor":"octokit","product":"request.js","tier":"tail","description":{"text":"@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00816,"percentile":0.57997,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/octokit/request.js/security/advisories/GHSA-rmvr-2pp2-xj38","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/octokit/request.js/commit/34ff07ee86fc5c20865982d77391bc910ef19c68","tags":["x_refsource_MISC"]},{"url":"https://github.com/octokit/request.js/commit/356411e3217019aa9fc8a68f4236af82490873c2","tags":["x_refsource_MISC"]},{"url":"https://github.com/octokit/request.js/commit/6bb29ba92a52f7bf94469c3433707c682c17126c","tags":["x_refsource_MISC"]},{"url":"https://github.com/octokit/request.js/releases/tag/v8.4.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/octokit/request.js/releases/tag/v9.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":11.6},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"octokit","affectedVersions":[{"vendor":"octokit","product":"request.js","versions":[">= 1.0.0, < 9.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-14T20:04:29.499678Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@octokit/request","vulnerableRanges":[">=9.0.0-beta.1, <9.2.1",">=1.0.0, <8.4.1"],"patched":["9.2.1","8.4.1"],"from":["GHSA-rmvr-2pp2-xj38"],"provenance":"source"}],"summary":{"text":"The @octokit/request module (request.js, in the octokit product) contains a regular expression in its fetchWrapper component that matches the HTTP link response header and is vulnerable to catastrophic backtracking. An attacker who can get a crafted link header into a response processed by an affected version (1.0.0 up to but not including 8.4.1 and 9.2.1) can cause excessive CPU usage and make the process unresponsive, with no authentication or user interaction required and only network-level reachability needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:11Z"},"euvd":{"id":"EUVD-2025-4104","exploited":false,"provenance":"source"}}