CVE-2017-16926 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code by providing source trees with malicious filenames to Ohcount, impacting users running the tool.

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

What is CVE-2017-16926?

CVE-2017-16926 is a critical command injection vulnerability in n/a, published on 22 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Ohcount 3.0.0 is prone to a command injection via specially crafted filenames containing shell metacharacters, which can be exploited by an attacker (providing a source tree for Ohcount processing) to execute arbitrary code as the user running Ohcount.

Weakness: CWE-78

Which versions are affected by CVE-2017-16926?

It affects 1 product.

Products include Ohcount Project Ohcount.

How do I fix CVE-2017-16926?

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

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

Sources

Also known as DEBIAN-CVE-2017-16926, GHSA-q7qc-2g57-fg48, UBUNTU-CVE-2017-16926.

Is CVE-2017-16926 in your software?

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

Check your SBOMs for free