hex_core is vulnerable to Denial of Service (DoS)
21
CVE Score
Low
Denial of Service (DoS)
hex_core decompresses registry and Erlang term API responses without size limits. The same code is vendored in Hex (mix_hex_repo, mix_hex_api) and rebar3 (r3_hex_repo, r3_hex_api). hex_repo:get_names/1, hex_repo:get_versions/1, hex_repo:get_package/2 and hex_repo:get_policy/2 decompress the registry response with zlib:gunzip/1 and decode the signed envelope before verifying its signature.
Upgrade the hex_core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.1.0 - 0.19.0
Fixed in 0.20.0hex_core is vulnerable to Denial of Service (DoS) in versions 0.1.0 - 0.19.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.