hawk@0.13.0 vulnerabilities

HTTP Hawk Authentication Scheme

  • latest version

    9.0.2

  • first published

    12 years ago

  • latest version published

    8 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the hawk 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
    • C
    Authentication Bypass

    hawk is a library for the HTTP Hawk Authentication Scheme.

    Affected versions of this package are vulnerable to Authentication Bypass. The incoming (client supplied) hash of the payload is trusted by the server and not verified before the signature is calculated.

    A malicious actor in the middle can alter the payload and the server side will not identify the modification occurred because it simply uses the client provided value instead of verify the hash provided against the modified payload.

    According to the maintainers this issue is to be considered out of scope as "payload hash validation is optional and up to developer to implement".

    How to fix Authentication Bypass?

    There is no fixed version for hawk.

    *
    • H
    Regular Expression Denial of Service (ReDoS)

    hawk is a library for the HTTP Hawk Authentication Scheme.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in header parsing where each added character in the attacker's input increases the computation time exponentially.

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

    Upgrade hawk to version 9.0.1 or higher.

    <9.0.1
    • L
    Regular Expression Denial of Service (ReDoS)

    hawk is an HTTP authentication scheme using a message authentication code (MAC) algorithm to provide partial HTTP request cryptographic verification.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.

    <3.1.3>=4.0.0 <4.1.1