CVE-2020-10204 Remote Code Execution - JavaEL Injection (low privileged accounts) in Nexus Repository Manager

High 7.2 Published Updated

Attackers can execute arbitrary code on Sonatype Nexus Repository servers, compromising the artifact management system.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-10204?

CVE-2020-10204 is a high-severity code injection vulnerability in n/a, published on 1 Apr 2020. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Sonatype Nexus Repository before 3.21.2 allows Remote Code Execution.

Weakness: CWE-20

Which versions are affected by CVE-2020-10204?

2 open source packages ship an affected version, including org.sonatype.nexus:nexus-core. It affects 1 product.

PackageAffectedFixed in
org.sonatype.nexus:nexus-core MavenAll versions3.21.2
org.sonatype.nexus:nexus-core MavenAll versions3.21.2

Products include Sonatype Nexus.

How do I fix CVE-2020-10204?

Upgrade org.sonatype.nexus:nexus-core to 3.21.2 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2020-10204 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-10204 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-8h56-v53h-5hhj.

Is CVE-2020-10204 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free