{"id":"CVE-2025-25288","published":"2025-02-14T19:33:43Z","modified":"2025-02-14T20:18:26Z","title":"@octokit/plugin-paginate-rest has a Regular Expression in iterator that Leads to ReDoS Vulnerability Due to…","vendor":"octokit","product":"plugin-paginate-rest.js","tier":"tail","description":{"text":"@octokit/plugin-paginate-rest is the Octokit plugin to paginate REST API endpoint responses. For versions starting in 1.0.0 and prior to 11.4.1 of the npm package `@octokit/plugin-paginate-rest`, when calling `octokit.paginate.iterator()`, a specially crafted `octokit` instance—particularly with a malicious `link` parameter in the `headers` section of the `request`—can trigger a ReDoS attack. Version 11.4.1 contains a fix for 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.00654,"percentile":0.52261,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/octokit/plugin-paginate-rest.js/security/advisories/GHSA-h5c3-5r3r-rr8q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/octokit/plugin-paginate-rest.js/commit/bb6c4f945d8023902cf387391d2b2209261044ab","tags":["x_refsource_MISC"]},{"url":"https://github.com/octokit/plugin-paginate-rest.js/blob/main/src/iterator.ts","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":10.45},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"octokit","affectedVersions":[{"vendor":"octokit","product":"plugin-paginate-rest.js","versions":[">= 1.0.0, < 11.4.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-14T20:18:16.720034Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@octokit/plugin-paginate-rest","vulnerableRanges":[">=9.3.0-beta.1, <11.4.1",">=1.0.0, <9.2.2"],"patched":["11.4.1","9.2.2"],"from":["GHSA-h5c3-5r3r-rr8q"],"provenance":"source"}],"summary":{"text":"The @octokit/plugin-paginate-rest plugin (the plugin-paginate-rest.js component of the octokit product) contains a regular expression in its iterator that is vulnerable to ReDoS because of inefficient regular expression complexity, affecting versions from 1.0.0 up to but not including 11.4.1. An attacker who can supply a specially crafted octokit instance, in particular a malicious link parameter in the request headers, can trigger the ReDoS condition when octokit.paginate.iterator() is called, with no authentication or user interaction required and network access as the attack vector.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:20Z"},"euvd":{"id":"EUVD-2025-4102","exploited":false,"provenance":"source"}}