VDB
Sign up
LOW2.3

GHSA-9fm9-hp7p-53mf

Hackney fails to properly release HTTP connections to the pool

Quick fix

GHSA-9fm9-hp7p-53mf — hackney: upgrade to the fixed version with the command below.

mix deps.update hackney

Details

Hackney fails to properly release HTTP connections to the pool after handling 307 Temporary Redirect responses. Remote attackers can exploit this to exhaust connection pools, causing denial of service in applications using the library. Fix for this issue has been included in 1.24.0 release.

Are you affected?

Enter the version of the package you're using.

Affected packages

Hex/hackney
Introduced in: 0Fixed in: 1.24.0
Fixmix deps.update hackney

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:hex/hackney"]}'