CVE-2018-1000883 Header Injection

Medium 6.5 Published Updated

Attackers can inject arbitrary headers via crafted cookie values in the Elixir Plug library, potentially altering application behavior.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-1000883?

CVE-2018-1000883 is a medium-severity vulnerability in n/a, published on 20 Dec 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Elixir Plug Plug version All contains a Header Injection vulnerability in Connection that can result in Given a cookie value, Headers can be added. This attack appear to be exploitable via Crafting a value to be sent as a cookie. This vulnerability appears to have been fixed in >= 1.3.5 or ~> 1.2.5 or ~> 1.1.9 or ~> 1.0.6.

Weakness: CWE-20

Which versions are affected by CVE-2018-1000883?

8 open source packages ship an affected version, including plug. It affects 1 product.

PackageAffectedFixed in
plug HexAll versions1.0.6
plug HexAll versions1.0.6
plug HexFrom 1.1.01.1.9
plug HexFrom 1.1.01.1.9
plug HexFrom 1.2.01.2.5
plug HexFrom 1.2.01.2.5
2 more packages
plug HexFrom 1.3.01.3.5
plug HexFrom 1.3.01.3.5

Products include Plug Project Plug.

How do I fix CVE-2018-1000883?

Upgrade plug to a fixed version for your release line: 1.0.6, 1.1.9, 1.2.5 or 1.3.5.

Is CVE-2018-1000883 being exploited?

There is no known exploitation of CVE-2018-1000883 in the wild and no public exploit code.

Sources

Also known as GHSA-9h73-w7ch-rh73.

Is CVE-2018-1000883 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free