CVE-2025-25289 Details
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.
A Regular Expression Denial-of-Service (ReDoS) vulnerability has been identified in the Octokit Request Error library, specifically in versions 1.0.0 and prior to 6.1.7. The issue arises in the processing of HTTP request headers, where an inefficient regular expression can be exploited. By sending an authorization header with a long sequence of spaces followed by a newline and '@', an attacker can cause excessive resource consumption, degrading server performance and potentially leading to a denial-of-service condition.
Users can upgrade to Octokit Request Error version 6.1.7 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 14, 2025CISA-ADP
Assessed Feb 14, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/octokit/request-error.js/blob/main/src/index.ts | [email protected] | Source CodeVendor |
| https://github.com/octokit/request-error.js/commit/d558320874a4bc8d356babf1079e6f0056a59b9e | [email protected] | Source CodeVendor |
| https://github.com/octokit/request-error.js/security/advisories/GHSA-xx4v-prfh-6cgc | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @octokit/request-error | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 14, 2025 | New CVE Received | [email protected] |
Volerion