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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| octokit | request-error.js | >= 1.0.0, < 6.1.7 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | lerna | 8.2.1-r0 | — |
| Wolfi rolling | prism | 5.14.3-r1 | — |
| Wolfi rolling | renovate | 39.174.0-r0 | — |
| Wolfi rolling | tileserver-gl | 5.4.0-r2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @octokit/request-error | >= 1.0.0, < 5.1.1 | 5.1.1 | GHSA-xx4v-prfh-6cgc |
| npm | @octokit/request-error | >= 6.0.0, < 6.1.7 | 6.1.7 | GHSA-xx4v-prfh-6cgc |