@octokit/request-error@1.0.3 vulnerabilities

Error class for Octokit request errors

  • latest version

    6.1.7

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    19 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @octokit/request-error package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Regular Expression Denial of Service (ReDoS)

    @octokit/request-error is an Error class for Octokit request errors

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper handling of the authorization header. An attacker can cause excessive CPU usage and potentially freeze the server by sending a specially crafted authorization header containing a long sequence of spaces followed by a newline and "@".

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade @octokit/request-error to version 5.1.1, 6.1.7 or higher.

    >=1.0.0 <5.1.1>=6.0.0 <6.1.7