CVE-2018-20683 Command injection in n/a

High 8.1 Published Updated

Attackers can execute arbitrary commands via the rsync module in Gitolite if rsync is enabled in the configuration.

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

What is CVE-2018-20683?

CVE-2018-20683 is a high-severity command injection vulnerability in n/a, published on 10 Jan 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

commands/rsync in Gitolite before 3.6.11, if .gitolite.rc enables rsync, mishandles the rsync command line, which allows attackers to have a "bad" impact by triggering use of an option other than -v, -n, -q, or -P.

Weakness: CWE-20

Which versions are affected by CVE-2018-20683?

It affects 1 product.

Linux distribution packages (2)
gitolite SUSE:Package Hub 15All versions3.6.11-bp150.3.6.1
gitolite openSUSE:Leap 15.0All versions3.6.11-bp150.3.6.1

Products include Gitolite Gitolite.

How do I fix CVE-2018-20683?

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-20683 being exploited?

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

Sources

Also known as ALPINE-CVE-2018-20683, DEBIAN-CVE-2018-20683, GHSA-rx5g-g97h-39pr, MGASA-2019-0058, UBUNTU-CVE-2018-20683, openSUSE-SU-2019:0054-1.

Is CVE-2018-20683 in your software?

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

Check your SBOMs for free