Skip to content
OpenAdvisories

Package · Hex

hackney

17 known vulnerabilities.

7 results · Clear filters · Feed

  • Medium 6.0

    HTTP/1.1 and HTTP/2 redirects resend basic_auth and cookie to a different scheme or port in hackney

    Insufficiently Protected Credentials vulnerability in hackney in benoitc hackney allows a redirecting server to obtain the basic_auth and cookie credentials of a request via a same-host redirect to another scheme or port. With follow_redirect enabled, hackney…

  • Medium 6.9

    SSRF allowlist bypass via percent-encoded bracketed IPv6 or trailing-dot IP literal in hackney

    Interpretation Conflict vulnerability in hackney_url in benoitc hackney allows Server Side Request Forgery via a percent-encoded bracketed IPv6 literal or an IP literal with a trailing dot. A host such as %5B%3A%3Affff%3A127%2E0%2E0%2E1%5D (decoding to [::fff…

  • Medium 6.9

    CRLF injection in WebSocket upgrade request in hackney

    Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in benoitc hackney allows HTTP Request/Response Splitting. The WebSocket upgrade code in src/hackney_ws.erl copies the host, path, headers (ExtraHeaders), and protocols options from th…

  • Medium 6.9

    SSRF allowlist bypass via percent-encoded host in hackney

    Interpretation Conflict vulnerability in benoitc hackney allows Server Side Request Forgery. hackney_url:normalize/2 URL-decodes the host component after the URL has been parsed into a #hackney_url{} record. OTP's uri_string:parse/1 and inet:parse_address/1 d…

  • Medium 6.0

    HTTP/3 redirect handler leaks Authorization and Cookie headers to cross-origin redirect target in hackney

    Sensitive Data Exposure vulnerability in benoitc hackney allows Retrieve Embedded Sensitive Data. The HTTP/3 redirect handler in src/hackney_h3.erl passes the original request headers unchanged to the redirect target without performing any cross-origin check.…

  • Medium 6.8

    CR/LF injection in query parameter in hackney

    Improper Neutralization of CRLF Sequences vulnerability in benoitc hackney allows HTTP Request Splitting. hackney does not percent-encode carriage return (\r) or line feed (\n) characters in the URL query component before constructing the HTTP/1.1 request tar…

  • Medium 6.5

    Server-side Request Forgery (SSRF) in hackney

    Versions of the package hackney before 1.21.0 are vulnerable to Server-side Request Forgery (SSRF) due to improper parsing of URLs by URI built-in module and hackey. Given the URL http://127.0.0.1?@127.2.2.2/, the URI function will parse and see the host as 1…