CVE-2025-25288

Medium

Description

@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.

SeverityMedium
CVSS5.3
Exploit probability—
Product@octokit/plugin-paginate-rest
PublishedFeb 14, 2025
First seenFeb 14, 2025
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • @octokit/plugin-paginate-rest11.4.1, 9.2.2 or later

Affected products

ProductAffected versionsFixed in
@octokit/plugin-paginate-restnpm9.3.0-beta.1 ≤ v < 11.4.1, 1.0.0 ≤ v < 9.2.211.4.1, 9.2.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.