Hex (Elixir/Erlang)Worst: High4 advisories

gun: known vulnerabilities

gun has 4 reviewed security advisories in the GitHub Advisory Database — 2 high, 2 moderate. The most recent was published 2026-06-08. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the gun versions running across your servers, containers and images, and ranks what to patch first.

How to fix gun

Upgrade gun to a release at or above the fixed version shown for each advisory below. For Hex (Elixir/Erlang):

Bump gun to 2.4.0 in mix.exs, then mix deps.get

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

gun has an Unexpected Status Code or Return Value vulnerability High CWE-841 — Affected: from 2.0.0 up to 2.4.0. Fixed in 2.4.0. Published 2026-06-08. GHSA-2j82-37xg-f9wp · CVE-2026-43974
gun_http2 has an Origin Validation Error vulnerability Moderate CWE-346 — Affected: from 2.0.0 up to 2.4.0. Fixed in 2.4.0. Published 2026-06-08. GHSA-36w4-95hv-5vwg · CVE-2026-43972
gun has an Uncontrolled Resource Consumption vulnerability High CWE-770 — Affected: from 1.0.0 up to 2.4.0. Fixed in 2.4.0. Published 2026-06-08. GHSA-r53j-fjj5-mv77 · CVE-2026-43973
cowboy and gun affected by an HTTP Request/Response Splitting vulnerability Moderate CWE-113 — Affected: before 2.4.0. Fixed in 2.4.0. Published 2026-06-08. GHSA-w4f7-4cxr-rv3c · CVE-2026-43966

Find gun across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.