Skip to content

build(deps): bump hackney from 4.8.5 to 4.9.1 in /copi.owasp.org - #3702

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/hex/copi.owasp.org/hackney-4.9.1
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/hex/copi.owasp.org/hackney-4.9.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 29, 2026

Copy link
Copy Markdown
Contributor

Bumps hackney from 4.8.5 to 4.9.1.

Release notes

Sourced from hackney's releases.

4.9.1

Fixed

  • The documentation builds again. A misplaced doc comment in 4.9.0 made edoc fail, which also blocked publishing that release to Hex.

4.9.0

Added

  • A max_body_size request option caps a response body that hackney buffers for you (the default hackney:request result, or body/1). It defaults to 512 MiB and also accepts the 1.x name max_body; infinity turns it off (#980).

Fixed

  • URLs that hide a loopback or private IP inside a percent-encoded bracketed IPv6 address, or behind a trailing dot, are now refused like other IP literals. The earlier fix for CVE-2026-47076 missed these two spellings, so such a URL still reached the address it denotes (#987).
  • Pinning your own CA with cacerts or cacertfile now actually limits which servers are trusted. hackney still accepted any certificate chain that included a publicly trusted root, so a pinned connection could reach a server its CA never vouched for (#978).
  • Following a redirect no longer resends basic_auth and cookie to another port on the same host, or over plain HTTP after HTTPS. Only a redirect to the same scheme, host and port keeps them, unless you set location_trusted (#979).
  • A server sending an endless or highly compressed body can no longer exhaust memory. Buffered bodies had no limit on HTTP/1.1, HTTP/2 and HTTP/3, and auto_decompress inflated the whole body at once. Both now stop at max_body_size with {error, body_too_large} (#980).
  • HTTPS proxies reached through CONNECT now get the same certificate checks as the target: hackney's CA bundle and a hostname check against the proxy. The connection to the proxy only set the server name, so on OTP 27 and later it failed unless proxy_ssl_options set cacerts or verify_none. An explicit {verify, verify_none} is still honoured (#988).
  • A proxy_auth_fun that returns a value containing CR, LF or NUL is now refused with {error, {proxy_auth_error, invalid_header}}. The value was written as is into the CONNECT request, so those bytes added header lines of their own (#989).
  • A slow or unreachable host no longer stalls every request that goes through the same pool. The pool opened new connections itself, so while one host took its time to answer, checkouts for every other host waited, for up to connect_timeout. The requester now opens its own connection, as in hackney 1.x (#973).
  • A failed TLS handshake on a pooled connection no longer frees a max_per_host slot held by another request. The slot was released twice, so the host could get one more concurrent connection than allowed (#984).

... (truncated)

Changelog

Sourced from hackney's changelog.

4.9.1 - 2026-10-26

Fixed

  • The documentation builds again. A misplaced doc comment in 4.9.0 made edoc fail, which also blocked publishing that release to Hex.

4.9.0 - 2026-10-25

Added

  • A max_body_size request option caps a response body that hackney buffers for you (the default hackney:request result, or body/1). It defaults to 512 MiB and also accepts the 1.x name max_body; infinity turns it off (#980).

Fixed

  • URLs that hide a loopback or private IP inside a percent-encoded bracketed IPv6 address, or behind a trailing dot, are now refused like other IP literals. The earlier fix for CVE-2026-47076 missed these two spellings, so such a URL still reached the address it denotes (#987).
  • Pinning your own CA with cacerts or cacertfile now actually limits which servers are trusted. hackney still accepted any certificate chain that included a publicly trusted root, so a pinned connection could reach a server its CA never vouched for (#978).
  • Following a redirect no longer resends basic_auth and cookie to another port on the same host, or over plain HTTP after HTTPS. Only a redirect to the same scheme, host and port keeps them, unless you set location_trusted (#979).
  • A server sending an endless or highly compressed body can no longer exhaust memory. Buffered bodies had no limit on HTTP/1.1, HTTP/2 and HTTP/3, and auto_decompress inflated the whole body at once. Both now stop at max_body_size with {error, body_too_large} (#980).
  • HTTPS proxies reached through CONNECT now get the same certificate checks as the target: hackney's CA bundle and a hostname check against the proxy. The connection to the proxy only set the server name, so on OTP 27 and later it failed unless proxy_ssl_options set cacerts or verify_none. An explicit {verify, verify_none} is still honoured (#988).
  • A proxy_auth_fun that returns a value containing CR, LF or NUL is now refused with {error, {proxy_auth_error, invalid_header}}. The value was written as is into the CONNECT request, so those bytes added header lines of their own (#989).
  • A slow or unreachable host no longer stalls every request that goes through the same pool. The pool opened new connections itself, so while one host took its time to answer, checkouts for every other host waited, for up to connect_timeout. The requester now opens its own connection, as in hackney 1.x (#973).

... (truncated)

Commits
  • 69d7e7a Merge pull request #993 from benoitc/release/4.9.1
  • e2aa38e Release 4.9.1
  • e5b956c Fix edoc: move stop_conn/1 doc back above it
  • 0f5db33 Merge pull request #992 from benoitc/release/4.9.0
  • f66e393 Release 4.9.0
  • 535b112 Merge pull request #989 from benoitc/fix/proxy-auth-header-ctl
  • 5ee7d7d Refuse CR/LF/NUL in the proxy_auth_fun result
  • 77792c4 Merge pull request #988 from benoitc/fix/connect-proxy-tls-verify
  • 6823f5c Verify HTTPS CONNECT proxies like the target
  • b1f0a41 Merge pull request #987 from benoitc/fix/normalize-ip-literal-forms
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [hackney](https://github.com/benoitc/hackney) from 4.8.5 to 4.9.1.
- [Release notes](https://github.com/benoitc/hackney/releases)
- [Changelog](https://github.com/benoitc/hackney/blob/master/NEWS.md)
- [Commits](benoitc/hackney@4.8.5...4.9.1)

---
updated-dependencies:
- dependency-name: hackney
  dependency-version: 4.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 29, 2026
@dependabot
dependabot Bot requested a review from rewtd as a code owner October 29, 2026 06:53
@dependabot dependabot Bot added the elixir Pull requests that update elixir code label Oct 29, 2026
@dependabot
dependabot Bot requested a review from sydseter as a code owner October 29, 2026 06:53
@sydseter sydseter closed this Nov 1, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/hex/copi.owasp.org/hackney-4.9.1 branch November 1, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant