CVE-2020-10721 fabric8-maven-plugin: insecure way to construct Yaml Object leading to remote code execution
A malicious YAML file can trigger unsafe deserialization in the fabric8-maven-plugin, leading to arbitrary code execution on the developer's machine.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-10721?
CVE-2020-10721 is a high-severity unsafe deserialization vulnerability in fabric8-maven-plugin, published on 22 Oct 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in the fabric8-maven-plugin 4.0.0 and later. When using a wildfly-swarm or thorntail custom configuration, a malicious YAML configuration file on the local machine executing the maven plug-in could allow for deserialization of untrusted data resulting in arbitrary code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Weakness: CWE-502
Which versions are affected by CVE-2020-10721?
2 open source packages ship an affected version, including io.fabric8:fabric8-maven-plugin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
io.fabric8:fabric8-maven-plugin Maven | From 4.0.0-M1 to 4.4.2 | None |
io.fabric8:fabric8-maven-plugin Maven | From 4.0.0-M1 to 4.4.2 | None |
Products include Redhat Fabric8-Maven.
How do I fix CVE-2020-10721?
No fix has been published for CVE-2020-10721 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-2020-10721 being exploited?
There is no known exploitation of CVE-2020-10721 in the wild and no public exploit code.
Sources
Also known as GHSA-w7gj-h6f2-x4c6.