CVE-2019-14868: Command Injection

Published Oct 1, 2019
·
Updated

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.

Other sources

Korn Shell is interpreting the contents of some environment variables on startup as an arithmetic expression and therefore potentially causing code injection vulnerabilities.

— Red Hat

ksh. An issue existed in the handling of environment variables. This issue was addressed with improved validation.

Credit

CVE-2019-14868

Affected Software

9 affected componentsFixes available
Apple macOS Catalina<10.15.5
10.15.5
Apple Mojave
Apple High Sierra
Ksh Project Ksh=20120801
Debian Debian Linux=9.0
Apple iOS and macOS<10.15.5
debian/ksh<2020.0.0-2.1
2020.0.0-2.1
debian/ksh
93u+20120801-3.1+deb9u193u+20120801-3.4+deb10u12020.0.0-2.1
debian/ksh93

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade macOS Catalina to a version that resolves this vulnerability.

    Fixed in 10.15.5
  2. Upgrade

    Upgrade debian/ksh to a version that resolves this vulnerability.

    Fixed in 2020.0.0-2.1
  3. Upgrade

    Upgrade debian/ksh to a version that resolves this vulnerability.

    Fixed in 93u+20120801-3.1+deb9u1Fixed in 93u+20120801-3.4+deb10u1Fixed in 2020.0.0-2.1

Event History

Oct 1, 2019
Data Sourced
via Red Hat·08:45 AM
DescriptionSeverityAffected Software
Apr 2, 2020
CVE Published
via MITRE·04:48 PM
Data Sourced
via MITRE·04:48 PM
DescriptionSeverityWeakness
Data Sourced
05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software
Nov 24, 2026
Withdrawn
via OSV·04:28 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2019-14868?

CVE-2019-14868 is an issue in the handling of environment variables in ksh (Korn Shell).

2

What software versions are affected by CVE-2019-14868?

CVE-2019-14868 affects macOS Catalina version 10.15.5 exclusively.

3

How was CVE-2019-14868 addressed?

CVE-2019-14868 was addressed with improved validation.

4

Is Apple Mojave affected by CVE-2019-14868?

Yes, Apple Mojave is affected by CVE-2019-14868.

5

Where can I find more information about CVE-2019-14868?

You can find more information about CVE-2019-14868 at the following reference: [Apple Support](https://support.apple.com/en-us/HT211170)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203