CVE-2025-25289
@octokit/request-error is an error class for Octokit request …
@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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/octokit/request-error.js/blob/main/src/index.ts
- 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
- github.com/advisories/GHSA-xx4v-prfh-6cgc
- nvd.nist.gov/vuln/detail/CVE-2025-25289
- cve.org/CVERecord?id=CVE-2025-25289
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.