CVE-2016-5019 Apache MyFaces Trinidad Deserialization Vulnerability
Attackers can execute arbitrary code by sending a crafted serialized view state string to applications using Apache MyFaces Trinidad.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-5019?
CVE-2016-5019 is a critical unsafe deserialization vulnerability in n/a, published on 3 Oct 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
CoreResponseStateManager in Apache MyFaces Trinidad 1.0.0 through 1.0.13, 1.2.x before 1.2.15, 2.0.x before 2.0.2, and 2.1.x before 2.1.2 might allow attackers to conduct deserialization attacks via a crafted serialized view state string.
Weakness: CWE-502
Which versions are affected by CVE-2016-5019?
8 open source packages ship an affected version, including org.apache.myfaces.trinidad:trinidad. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.myfaces.trinidad:trinidad Maven | From 1.0.0 to 1.0.13 | None |
org.apache.myfaces.trinidad:trinidad Maven | From 1.0.0 to 1.0.13 | None |
org.apache.myfaces.trinidad:trinidad Maven | From 1.2.0 | 1.2.15 |
org.apache.myfaces.trinidad:trinidad Maven | From 1.2.0 | 1.2.15 |
org.apache.myfaces.trinidad:trinidad Maven | From 2.0.0 | 2.0.2 |
org.apache.myfaces.trinidad:trinidad Maven | From 2.0.0 | 2.0.2 |
2 more packages
org.apache.myfaces.trinidad:trinidad Maven | From 2.1.0 | 2.1.2 |
org.apache.myfaces.trinidad:trinidad Maven | From 2.1.0 | 2.1.2 |
Products include Apache Myfaces Trinidad.
How do I fix CVE-2016-5019?
Upgrade org.apache.myfaces.trinidad:trinidad to a fixed version for your release line: 1.2.15, 2.0.2 or 2.1.2.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2016-5019 being exploited?
There is no known exploitation of CVE-2016-5019 in the wild and no public exploit code.
Sources
Also known as GHSA-x7rc-4gqw-3q6q.