Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-14868

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-14868
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:35 UTC · Revision 1

Source evidence

CVE-2019-14868

core-osv · Original source

Published 2 Apr 2020, 17:15 UTC

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.

osv:CVE-2019-14868
Complete source record
{
  "id": "906f875f43ea56900960d93aade03f299cf6640200ed2a782fcbb39f4ff6a20a",
  "url": "https://osv.dev/vulnerability/CVE-2019-14868",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-14868",
    "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.",
    "evidence": "osv:CVE-2019-14868",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-14868",
      "aliases": [
        "CVE-2019-14868"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/att/ast",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c7de8b641266bac7c77942239ac659edfee9ecd2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "c7de8b641266bac7c77942239ac659edfee9ecd2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2020.0.0-beta1",
            "2020.0.0-alpha1",
            "ksh93u",
            "93u",
            "2017.0.0-devel",
            "ksh93v",
            "93v"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-14868.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-14868-0f5281b0",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "292522260154462807134596324595154454403",
                    "228040591145206564197957504270250634455",
                    "134702557779401818815713020675105348052",
                    "270489347417504724061777842548411320746",
                    "309154048298157846710561675535750118954",
                    "166317080956175516991178399147441212308",
                    "237054445176760146978313153509807236618",
                    "308277461124739545612523151712453038170",
                    "60048710934532426947654935954346860194",
                    "202152684889146068009265037050292707663",
                    "115797773485445993693623489149471649991",
                    "95064261498924644983331992512173552820",
                    "65502272106281790517004165640909174517",
                    "145899465224961727636583492940688774660",
                    "75211296696013116894468999542249736721",
                    "45040054301855990189779717533862665389"
                  ]
                },
                "source": "https://github.com/att/ast/commit/c7de8b641266bac7c77942239ac659edfee9ecd2",
                "target": {
                  "file": "src/cmd/ksh93/sh/arith.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-14868-95f6fa93",
                "digest": {
                  "length": 622,
                  "function_hash": "134286879653628415161373753386099156078"
                },
                "source": "https://github.com/att/ast/commit/c7de8b641266bac7c77942239ac659edfee9ecd2",
                "target": {
                  "file": "src/cmd/ksh93/sh/arith.c",
                  "function": "sh_strnum"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:56:02Z"
          }
        }
      ],
      "modified": "2026-10-20T13:56:02.639176829Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2020/07/msg00015.html",
        "https://support.apple.com/kb/HT211170",
        "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14868",
        "https://github.com/att/ast/commit/c7de8b641266bac7c77942239ac659edfee9ecd2"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "apple:mac_os_x",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "10.15.5"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:ksh_project:ksh:20120801:*:*:*:*:*:*:*"
            ],
            "vendor_product": "ksh_project:ksh",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "20120801"
                  },
                  {
                    "last_affected": "20120801"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-14868",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388400,
  "published_at": "2020-04-02T17:15:13.99+00:00"
}