SB2025070412 - Inefficient regular expression complexity in octokit plugin-paginate-rest.js



SB2025070412 - Inefficient regular expression complexity in octokit plugin-paginate-rest.js

Published: July 4, 2025

Security Bulletin ID SB2025070412
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Inefficient regular expression complexity (CVE-ID: CVE-2025-25288)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a specially crafted `octokit` instance—particularly with a malicious `link` parameter in the `headers` section of the `request`—can trigger a ReDoS attack when calling `octokit.paginate.iterator()`. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.


Remediation

Install update from vendor's website.