CVE-2020-10199 Sonatype Nexus Repository Remote Code Execution
Attackers can execute arbitrary code via Java Expression Language injection in Sonatype Nexus Repository.
- Exploited in the wild
- Since 3 Nov 2021
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-10199?
CVE-2020-10199 is a high-severity code injection vulnerability in n/a, published on 1 Apr 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Sonatype Nexus Repository before 3.21.2 allows JavaEL Injection (issue 1 of 2).
Weakness: CWE-917
Which versions are affected by CVE-2020-10199?
2 open source packages ship an affected version, including org.sonatype.nexus:nexus-extdirect. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.sonatype.nexus:nexus-extdirect Maven | All versions | 3.21.2 |
org.sonatype.nexus:nexus-extdirect Maven | All versions | 3.21.2 |
Products include Sonatype Nexus.
How do I fix CVE-2020-10199?
Upgrade org.sonatype.nexus:nexus-extdirect to 3.21.2 or later. US federal agencies must fix it by 3 May 2022.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2020-10199 being exploited?
Yes. Attackers have exploited CVE-2020-10199 in the wild since at least 3 Nov 2021.
Public exploit code: 1 Metasploit module, 2 Exploit-DB entries, 1 Nuclei template and 7 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-g2f6-v5qh-h2mq.