{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Low"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2014/cve-2014-10070.json"
      }
    ],
    "title": "zsh: privilege escalation via environment variables",
    "tracking": {
      "current_release_date": "2025-11-21T16:37:37+00:00",
      "generator": {
        "date": "2025-11-21T16:37:37+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.12"
        }
      },
      "id": "CVE-2014-10070",
      "initial_release_date": "2014-01-01T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2014-01-01T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2021-02-17T00:46:16+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2025-11-21T16:37:37+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 5",
                "product": {
                  "name": "Red Hat Enterprise Linux 5",
                  "product_id": "red_hat_enterprise_linux_5",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:5"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 5"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "red_hat_enterprise_linux_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 8",
                "product": {
                  "name": "Red Hat Enterprise Linux 8",
                  "product_id": "red_hat_enterprise_linux_8",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:8"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 8"
          },
          {
            "category": "product_version",
            "name": "zsh",
            "product": {
              "name": "zsh",
              "product_id": "zsh",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/zsh?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "zsh.src",
            "product": {
              "name": "zsh.src",
              "product_id": "zsh.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/zsh?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "zsh-html",
            "product": {
              "name": "zsh-html",
              "product_id": "zsh-html",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/zsh-html"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "zsh as a component of Red Hat Enterprise Linux 5",
          "product_id": "red_hat_enterprise_linux_5:zsh"
        },
        "product_reference": "zsh",
        "relates_to_product_reference": "red_hat_enterprise_linux_5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "zsh as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:zsh"
        },
        "product_reference": "zsh",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "zsh-html as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:zsh-html"
        },
        "product_reference": "zsh-html",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "zsh.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:zsh.src"
        },
        "product_reference": "zsh.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "zsh as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:zsh"
        },
        "product_reference": "zsh",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "zsh-html as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:zsh-html"
        },
        "product_reference": "zsh-html",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "zsh.src as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:zsh.src"
        },
        "product_reference": "zsh.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "zsh as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:zsh"
        },
        "product_reference": "zsh",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "zsh-html as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:zsh-html"
        },
        "product_reference": "zsh-html",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "zsh.src as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:zsh.src"
        },
        "product_reference": "zsh.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2014-10070",
      "cwe": {
        "id": "CWE-95",
        "name": "Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')"
      },
      "discovery_date": "2018-02-26T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_enterprise_linux_8:zsh",
            "red_hat_enterprise_linux_8:zsh-html",
            "red_hat_enterprise_linux_8:zsh.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1549287"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "zsh before 5.0.7 allows evaluation of the initial values of integer variables imported from the environment (instead of treating them as literal numbers). That could allow local privilege escalation, under some specific and atypical conditions where zsh is being invoked in privilege-elevation contexts when the environment has not been properly sanitized, such as when zsh is invoked by sudo on systems where \"env_reset\" has been disabled.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "zsh: privilege escalation via environment variables",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "Red Hat Product Security has rated this issue as having security impact of Low. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "red_hat_enterprise_linux_5:zsh",
          "red_hat_enterprise_linux_6:zsh",
          "red_hat_enterprise_linux_6:zsh-html",
          "red_hat_enterprise_linux_6:zsh.src",
          "red_hat_enterprise_linux_7:zsh",
          "red_hat_enterprise_linux_7:zsh-html",
          "red_hat_enterprise_linux_7:zsh.src"
        ],
        "known_not_affected": [
          "red_hat_enterprise_linux_8:zsh",
          "red_hat_enterprise_linux_8:zsh-html",
          "red_hat_enterprise_linux_8:zsh.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2014-10070"
        },
        {
          "category": "external",
          "summary": "RHBZ#1549287",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1549287"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2014-10070",
          "url": "https://www.cve.org/CVERecord?id=CVE-2014-10070"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2014-10070",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-10070"
        }
      ],
      "release_date": "2018-02-26T00:00:00+00:00",
      "remediations": [
        {
          "category": "workaround",
          "details": "Don't allow environment variables 'OPTIND' and 'TRY_BLOCK_ERROR' to be inherited by shells called through zsh.\nMitigated by default on Red Hat Enterprise Linux versions 5, 6 and 7, since this is the default configuration on those versions.",
          "product_ids": [
            "red_hat_enterprise_linux_5:zsh",
            "red_hat_enterprise_linux_6:zsh",
            "red_hat_enterprise_linux_6:zsh-html",
            "red_hat_enterprise_linux_6:zsh.src",
            "red_hat_enterprise_linux_7:zsh",
            "red_hat_enterprise_linux_7:zsh-html",
            "red_hat_enterprise_linux_7:zsh.src",
            "red_hat_enterprise_linux_8:zsh",
            "red_hat_enterprise_linux_8:zsh-html",
            "red_hat_enterprise_linux_8:zsh.src"
          ]
        },
        {
          "category": "no_fix_planned",
          "details": "Will not fix",
          "product_ids": [
            "red_hat_enterprise_linux_5:zsh",
            "red_hat_enterprise_linux_6:zsh",
            "red_hat_enterprise_linux_6:zsh-html",
            "red_hat_enterprise_linux_6:zsh.src",
            "red_hat_enterprise_linux_7:zsh",
            "red_hat_enterprise_linux_7:zsh-html",
            "red_hat_enterprise_linux_7:zsh.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 0.0,
            "baseSeverity": "NONE",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:N",
            "version": "3.0"
          },
          "products": [
            "red_hat_enterprise_linux_5:zsh",
            "red_hat_enterprise_linux_6:zsh",
            "red_hat_enterprise_linux_6:zsh-html",
            "red_hat_enterprise_linux_6:zsh.src",
            "red_hat_enterprise_linux_7:zsh",
            "red_hat_enterprise_linux_7:zsh-html",
            "red_hat_enterprise_linux_7:zsh.src",
            "red_hat_enterprise_linux_8:zsh",
            "red_hat_enterprise_linux_8:zsh-html",
            "red_hat_enterprise_linux_8:zsh.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low",
          "product_ids": [
            "red_hat_enterprise_linux_5:zsh",
            "red_hat_enterprise_linux_6:zsh",
            "red_hat_enterprise_linux_6:zsh-html",
            "red_hat_enterprise_linux_6:zsh.src",
            "red_hat_enterprise_linux_7:zsh",
            "red_hat_enterprise_linux_7:zsh-html",
            "red_hat_enterprise_linux_7:zsh.src",
            "red_hat_enterprise_linux_8:zsh",
            "red_hat_enterprise_linux_8:zsh-html",
            "red_hat_enterprise_linux_8:zsh.src"
          ]
        }
      ],
      "title": "zsh: privilege escalation via environment variables"
    }
  ]
}