OS Command Injection Affecting ohcount package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.3% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1604-OHCOUNT-265922
  • published22 Nov 2017
  • disclosed22 Nov 2017

Introduced: 22 Nov 2017

CVE-2017-16926  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:16.04 ohcount.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ohcount package and not the ohcount package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.