CVE-2018-7032 Command injection in n/a

High 7.5 Published Updated

Attackers can execute arbitrary code via unsanitized URLs in myrepos webcheckout, affecting developers using this version control tool.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-7032?

CVE-2018-7032 is a high-severity command injection vulnerability in n/a, published on 14 Feb 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

webcheckout in myrepos through 1.20171231 does not sanitize URLs that are passed to git clone, allowing a malicious website operator or a MitM attacker to take advantage of it for arbitrary code execution, as demonstrated by an "ext::sh -c" attack or an option injection attack.

Weakness: CWE-74

Which versions are affected by CVE-2018-7032?

It affects 1 product.

Linux distribution packages (1)
mr openSUSE:TumbleweedAll versions1.20180726-1.5

Products include Myrepos Project Myrepos.

How do I fix CVE-2018-7032?

Upgrade to a fixed version.

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

Is CVE-2018-7032 being exploited?

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

Sources

Also known as ALPINE-CVE-2018-7032, DEBIAN-CVE-2018-7032, GHSA-cxq4-c3j7-c5jv, UBUNTU-CVE-2018-7032, openSUSE-SU-2024:11063-1.

Is CVE-2018-7032 in your software?

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

Check your SBOMs for free