CVE-2019-14868 json
In ksh version 20120801, a flaw was found in the way it evaluates certain environment variables.
published 6y ago modified 4mo ago also EUVD-2019-5983
- cvss
- 7.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- apple mac_os_x 10.15.5
- ksh Debian 11 2020.0.0-2.1
debian advisories DEBIAN-CVE-2019-14868
- ksh Ubuntu Pro 14.04 LTS 93u+20120801-1ubuntu0.14.04.1+esm1
ubuntu advisories UBUNTU-CVE-2019-14868
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ksh RHEL 7 20120801-140.el7_7
- ksh RHEL 8 20120801-253.el8_1
- ksh RHEL 6 20120801-38.el6_10
- ksh RHEL 7.2 AUS 20120801-26.el7_2
- ksh RHEL 7.3 AUS 20120801-27.el7_3
- ksh RHEL 7.4 TUS, RHEL 7.4 E4S, RHEL 7.4 AUS 20120801-36.el7_4
- ksh RHEL 7.5 EUS 20120801-138.el7_5
- ksh RHEL 7.6 EUS 20120801-140.el7_6
red hat advisories RHSA-2020:5352RHSA-2020:5351RHSA-2020:2210RHSA-2020:1332RHSA-2020:1333RHSA-2020:0568
- ksh SLE Software Development Kit 12 SP5, SLE Module for Legacy 12 93vu-19.3.2
suse advisories SUSE-SU-2024:2756-1
- ksh openSUSE Tumbleweed 93vu-10.1
opensuse advisories openSUSE-SU-2024:14252-1
- ksh Arch Linux 2020.0.0-2
arch linux advisories AVG-1095
- github.com/att/ast@c7de8b6 commit
Is CVE-2019-14868 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-14868 updated cvss 7.4
ksh: certain environment variables interpreted as arithmetic expressions on startup, leading to code injection
-
Red Hat Enterprise Linux 5 kshaffected: workaround, no fix planned “No known mitigation available.”
-
Red Hat Enterprise Linux AppStream (v. 8) ksh 20120801-253.el8_1fixed: vendor fix “No known mitigation available.” RHSA-2020:0559
-
Red Hat Enterprise Linux AppStream E4S (v. 8.0) ksh 20120801-253.el8_0fixed: vendor fix “No known mitigation available.” RHSA-2020:0431
-
Red Hat Enterprise Linux Client (v. 7) ksh 20120801-140.el7_7 Red Hat Enterprise Linux ComputeNode (v. 7) ksh 20120801-140.el7_7fixed: vendor fix “No known mitigation available.” RHSA-2020:0568
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) ksh 20120801-138.el7_5fixed: vendor fix “No known mitigation available.” RHSA-2020:1332
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) ksh 20120801-140.el7_6fixed: vendor fix “No known mitigation available.” RHSA-2020:1333
-
Red Hat Enterprise Linux Desktop (v. 6) ksh 20120801-38.el6_10fixed: vendor fix “No known mitigation available.” RHSA-2020:0515
-
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) ksh 20120801-140.el7_6fixed: vendor fix “No known mitigation available.” RHSA-2020:1333
show 10 moreshow fewer
-
Red Hat Enterprise Linux HPC Node (v. 6) ksh 20120801-38.el6_10 Red Hat Enterprise Linux Server (v. 6) ksh 20120801-38.el6_10fixed: vendor fix “No known mitigation available.” RHSA-2020:0515
-
Red Hat Enterprise Linux Server (v. 7) ksh 20120801-140.el7_7fixed: vendor fix “No known mitigation available.” RHSA-2020:0568
-
Red Hat Enterprise Linux Server AUS (v. 7.2) ksh 20120801-26.el7_2fixed: vendor fix “No known mitigation available.” RHSA-2020:5352
-
Red Hat Enterprise Linux Server AUS (v. 7.3) ksh 20120801-27.el7_3fixed: vendor fix “No known mitigation available.” RHSA-2020:5351
-
Red Hat Enterprise Linux Server AUS (v. 7.4) ksh 20120801-36.el7_4 Red Hat Enterprise Linux Server E4S (v. 7.4) ksh 20120801-36.el7_4fixed: vendor fix “No known mitigation available.” RHSA-2020:2210
-
Red Hat Enterprise Linux Server EUS (v. 7.5) ksh 20120801-138.el7_5fixed: vendor fix “No known mitigation available.” RHSA-2020:1332
-
Red Hat Enterprise Linux Server EUS (v. 7.6) ksh 20120801-140.el7_6fixed: vendor fix “No known mitigation available.” RHSA-2020:1333
-
Red Hat Enterprise Linux Server TUS (v. 7.4) ksh 20120801-36.el7_4fixed: vendor fix “No known mitigation available.” RHSA-2020:2210
-
Red Hat Enterprise Linux Workstation (v. 6) ksh 20120801-38.el6_10fixed: vendor fix “No known mitigation available.” RHSA-2020:0515
-
Red Hat Enterprise Linux Workstation (v. 7) ksh 20120801-140.el7_7fixed: vendor fix “No known mitigation available.” RHSA-2020:0568
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.39% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- KornShell ksh
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/att/ast/commit/c7de8b641266bac7c77942239ac659edfee9ecd2
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2019-14868
issue-tracking, third-party-advisory
-
support.apple.com
/kb/HT211170
third-party-advisory
-
seclists.org
/fulldisclosure/2020/May/53
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/07/msg00015.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2019-14868
- NVD CVE-2019-14868
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.