CVE-2019-20343 Code injection in n/a
Attackers can execute arbitrary code by crafting an XML document that specifies malicious programs and arguments in the Maven Exec plugin configuration.
- 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-2019-20343?
CVE-2019-20343 is a critical code injection vulnerability in n/a, published on 6 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The MojoHaus Exec Maven plugin 1.1.1 for Maven allows code execution via a crafted XML document because a configuration element (within a plugin element) can specify an arbitrary program in an executable element (and can also specify arbitrary command-line arguments in an arguments element).
Weakness: CWE-94
Which versions are affected by CVE-2019-20343?
It affects 1 product.
Products include Mojohaus Exec Maven.
How do I fix CVE-2019-20343?
No fix has been published for CVE-2019-20343 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2019-20343 being exploited?
There is no known exploitation of CVE-2019-20343 in the wild and no public exploit code.
Sources
Also known as GHSA-g34f-p6jp-297c.