Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @octokit/request-error
  4. ›
  5. CVE-2025-25289

CVE-2025-25289: @octokit/request-error has a Regular Expression in index that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking

February 14, 2025

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the processing of HTTP request headers. By sending an authorization header containing an excessively long sequence of spaces followed by a newline and “@”, an attacker can exploit inefficient regular expression processing, leading to excessive resource consumption. This can significantly degrade server performance or cause a denial-of-service (DoS) condition, impacting availability.

References

  • github.com/advisories/GHSA-xx4v-prfh-6cgc
  • github.com/octokit/request-error.js
  • github.com/octokit/request-error.js/commit/d558320874a4bc8d356babf1079e6f0056a59b9e
  • github.com/octokit/request-error.js/security/advisories/GHSA-xx4v-prfh-6cgc
  • nvd.nist.gov/vuln/detail/CVE-2025-25289

Code Behaviors & Features

Detect and mitigate CVE-2025-25289 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.0.0 before 6.1.7

Fixed versions

  • 6.1.7

Solution

Upgrade to version 6.1.7 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/@octokit/request-error/CVE-2025-25289.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:23 +0000.