CVE-2019-5475 OS Command Injection in Nexus Yum Repository Plugin

High 8.8 Published Updated

Remote code execution in Nexus Repository Manager via command injection in the Yum Repository Plugin when processing configuration data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-5475?

CVE-2019-5475 is a high-severity command injection vulnerability in Sonatype Nexus Repository Manager, published on 3 Sep 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Nexus Yum Repository Plugin in v2 is vulnerable to Remote Code Execution when instances using CommandLineExecutor.java are supplied vulnerable data, such as the Yum Configuration Capability.

Weakness: CWE-78

Which versions are affected by CVE-2019-5475?

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

PackageAffectedFixed in
org.sonatype.nexus.plugins:nexus-yum-repository-plugin MavenAll versions2.14.14
org.sonatype.nexus.plugins:nexus-yum-repository-plugin MavenAll versions2.14.14

Products include Sonatype Nexus Repository Manager.

How do I fix CVE-2019-5475?

Upgrade org.sonatype.nexus.plugins:nexus-yum-repository-plugin to 2.14.14 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2019-5475 being exploited?

There is no known exploitation of CVE-2019-5475 in the wild and no public exploit code.

Public exploit code: 3 proofs of concept on GitHub.

All Sonatype Nexus Repository Manager vulnerabilities

Sources

Also known as GHSA-g5m7-57ph-j6p8.

Is CVE-2019-5475 in your software?

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

Check your SBOMs for free