OS Command Injection Affecting mgetty package, versions <1.2.1-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.12% (47th 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-DEBIANUNSTABLE-MGETTY-287440
  • published25 Sept 2018
  • disclosed13 Sept 2018

Introduced: 13 Sep 2018

CVE-2018-16741  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Debian:unstable mgetty to version 1.2.1-1 or higher.

NVD Description

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

An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, &&, or > characters within a file created by the "faxq-helper activate <jobid>" command.