CVE-2018-6331 Deserialization in Buck
Maliciously crafted state files in Buck parser-cache can trigger code execution via unsafe Java deserialization.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-6331?
CVE-2018-6331 is a critical unsafe deserialization vulnerability in Facebook Buck, published on 31 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Buck parser-cache command loads/saves state using Java serialized object. If the state information is maliciously crafted, deserializing it could lead to code execution. This issue affects Buck versions prior to v2018.06.25.01.
Weakness: CWE-502
Which versions are affected by CVE-2018-6331?
It affects 1 product.
Products include Facebook Buck.
How do I fix CVE-2018-6331?
No fix has been published for CVE-2018-6331 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2018-6331 being exploited?
There is no known exploitation of CVE-2018-6331 in the wild and no public exploit code.
Sources
Also known as GHSA-gwvw-v6hg-775r.