Command injection in KornShell ksh
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 20 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-77.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| KornShell | ksh | 20120801 | — | No fix listed | CNA |
- ksh VendorKornShell Affected 20120801 Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ksh_project:ksh:20120801:*:*:*:*:*:*:* | 20120801 | Vulnerable | Ksh Project |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* | before 10.15.5 | Vulnerable | Apple |
- cpe:2.3:a:ksh_project:ksh:20120801:*:*:*:*:*:*:* Versions 20120801 Vulnerable ·Ksh Project
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* Versions before 10.15.5 Vulnerable ·Apple
Remediation
Red Hat 9 advisories
- RHSA-2020:5351 Released 2020-12-07 · Red Hat rating Importantksh security update
- Red Hat Enterprise Linux Server AUS (v. 7.3) ksh-20120801-27.el7_3
- RHSA-2020:5352 Released 2020-12-07 · Red Hat rating Importantksh security update
- Red Hat Enterprise Linux Server AUS (v. 7.2) ksh-20120801-26.el7_2
- RHSA-2020:2210 Released 2020-05-19 · Red Hat rating Importantksh security update
- 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_4
- Red Hat Enterprise Linux Server TUS (v. 7.4) ksh-20120801-36.el7_4
Show 6 more Red Hat advisories
- RHSA-2020:1333 Released 2020-04-06 · Red Hat rating Importantksh security update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) ksh-20120801-140.el7_6
- Red Hat Enterprise Linux Server EUS (v. 7.6) ksh-20120801-140.el7_6
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) ksh-20120801-140.el7_6
- RHSA-2020:1332 Released 2020-04-06 · Red Hat rating Importantksh security update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) ksh-20120801-138.el7_5
- Red Hat Enterprise Linux Server EUS (v. 7.5) ksh-20120801-138.el7_5
- RHSA-2020:0568 Released 2020-02-24 · Red Hat rating Importantksh security update
- Red Hat Enterprise Linux Client (v. 7) ksh-20120801-140.el7_7
- Red Hat Enterprise Linux ComputeNode (v. 7) ksh-20120801-140.el7_7
- Red Hat Enterprise Linux Server (v. 7) ksh-20120801-140.el7_7
- Red Hat Enterprise Linux Workstation (v. 7) ksh-20120801-140.el7_7
- RHSA-2020:0559 Released 2020-02-20 · Red Hat rating Importantksh security update
- Red Hat Enterprise Linux AppStream (v. 8) ksh-20120801-253.el8_1
- RHSA-2020:0515 Released 2020-02-17 · Red Hat rating Importantksh security update
- Red Hat Enterprise Linux Desktop (v. 6) ksh-20120801-38.el6_10
- Red Hat Enterprise Linux HPC Node (v. 6) ksh-20120801-38.el6_10
- Red Hat Enterprise Linux Server (v. 6) ksh-20120801-38.el6_10
- Red Hat Enterprise Linux Workstation (v. 6) ksh-20120801-38.el6_10
- RHSA-2020:0431 Released 2020-02-05 · Red Hat rating Importantksh security update
- Red Hat Enterprise Linux AppStream E4S (v. 8.0) ksh-20120801-253.el8_0
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:0559 |
| Red Hat Enterprise Linux AppStream E4S (v. 8.0) | Fixed | RHSA-2020:0431 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2020:0568 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2020:0568 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) | Fixed | RHSA-2020:1332 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) | Fixed | RHSA-2020:1333 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2020:0515 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2020:0515 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2020:0515 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:0568 |
| Red Hat Enterprise Linux Server AUS (v. 7.2) | Fixed | RHSA-2020:5352 |
| Red Hat Enterprise Linux Server AUS (v. 7.3) | Fixed | RHSA-2020:5351 |
| Red Hat Enterprise Linux Server AUS (v. 7.4) | Fixed | RHSA-2020:2210 |
| Red Hat Enterprise Linux Server E4S (v. 7.4) | Fixed | RHSA-2020:2210 |
| Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2020:1332 |
| Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2020:1333 |
| Red Hat Enterprise Linux Server TUS (v. 7.4) | Fixed | RHSA-2020:2210 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2020:0515 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:0568 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2020:1333 |
Timeline
- 2026-10-02 Threatist record created from CVE-2019-14868
- 2026-10-03 Alias added: GHSA-2x84-7422-962r
References
Advisory 4
Sources
- CVE-2019-14868 · CVE Program
- CVE-2019-14868 · NVD
- FIRST EPSS
- GHSA-2x84-7422-962r · GitHub Advisory Database · CC BY 4.0
- CVE-2019-14868 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences