CVE-2018-1000883 Header Injection
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.
| Package | Affected | Fixed in |
|---|---|---|
plug Hex | All versions | 1.0.6 |
plug Hex | All versions | 1.0.6 |
plug Hex | From 1.1.0 | 1.1.9 |
plug Hex | From 1.1.0 | 1.1.9 |
plug Hex | From 1.2.0 | 1.2.5 |
plug Hex | From 1.2.0 | 1.2.5 |
2 more packages
plug Hex | From 1.3.0 | 1.3.5 |
plug Hex | From 1.3.0 | 1.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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-9h73-w7ch-rh73.