Arbitrary Command Injection Affecting mgetty package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.32% (70th 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 IDSNYK-RHEL7-MGETTY-1378996
  • published26 Jul 2021
  • disclosed11 Sept 2018

Introduced: 11 Sep 2018

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

How to fix?

There is no fixed version for RHEL:7 mgetty.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mgetty package and not the mgetty package as distributed by RHEL. See How to fix? for RHEL:7 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.