Arbitrary Command Injection Affecting ksh package, versions <0:20120801-140.el7_7


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.17% (55th 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-KSH-4948231
  • published26 Jul 2021
  • disclosed13 Dec 2019

Introduced: 13 Dec 2019

CVE-2019-14868  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade RHEL:7 ksh to version 0:20120801-140.el7_7 or higher.
This issue was patched in RHSA-2020:0568.

NVD Description

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

In ksh version 20120801, a flaw was found in the way it evaluates certain environment variables. An attacker could use this flaw to override or bypass environment restrictions to execute shell commands. Services and applications that allow remote unauthenticated attackers to provide one of those environment variables could allow them to exploit this issue remotely.

CVSS Scores

version 3.1