Vulnerability
CVE-2025-25288
@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.
13 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-2696-mhrm-q2w8
- CGA-3f63-c4rv-w7cc
- CGA-6v82-vv5h-67vx
- CGA-6vvw-cc6v-jmqq
- CGA-9gj2-m8cj-6835
- CGA-fx2q-vfpv-9vf3
- CGA-hphr-478g-p86m
- CGA-hqmm-h3gr-6mgg
- CGA-pwxx-gcr9-5p7r
- CGA-qc42-v45q-c65p
- CGA-vqjw-fcw8-v6wv
- CGA-w8h3-698h-v289
-
GHSA-h5c3-5r3r-rr8q
@octokit/plugin-paginate-rest has a Regular Expression in iterator Leads to ReDoS Vulnerability Due to Catastrophic Backtracking