CVE-2017-18026 Command injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary commands via Mercurial branch names starting with specific flags, requiring an upgrade to Redmine.

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-2017-18026?

CVE-2017-18026 is a high-severity command injection vulnerability in Debian Debian Linux, published on 10 Jan 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

Redmine before 3.2.9, 3.3.x before 3.3.6, and 3.4.x before 3.4.4 does not block the --config and --debugger flags to the Mercurial hg program, which allows remote attackers to execute arbitrary commands (through the Mercurial adapter) via vectors involving a branch whose name begins with a --config= or --debugger= substring, a related issue to CVE-2017-17536.

Which versions are affected by CVE-2017-18026?

It affects 2 products.

Products include Debian Debian Linux, Redmine Redmine.

How do I fix CVE-2017-18026?

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-2017-18026 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-18026, GHSA-895x-g5qf-8pjx, UBUNTU-CVE-2017-18026.

Is CVE-2017-18026 in your software?

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

Check your SBOMs for free