Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/octokit/request-error.js/blob/main/src/index.ts
- https://github.com/octokit/request-error.js/commit/d558320874a4bc8d356babf1079e6
- https://github.com/octokit/request-error.js/security/advisories/GHSA-xx4v-prfh-6
FAQ
What is CVE-2025-25289?
CVE-2025-25289 is a vulnerability with a CVSS score of 5.3 (MEDIUM). @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 pr...
How severe is CVE-2025-25289?
CVE-2025-25289 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-25289?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.