CVE-2025-25289

Medium

Description

@octokit/request-error is an error class for Octokit request errors. Starting in version 1.0.0 and prior to version 6.1.7, 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. Version 6.1.7 contains a fix for the issue.

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

How to fix

Update
  • @octokit/request-error5.1.1, 6.1.7 or later

Affected products

ProductAffected versionsFixed in
@octokit/request-errornpm1.0.0 ≤ v < 5.1.1, 6.0.0 ≤ v < 6.1.75.1.1, 6.1.7

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.