{
  "threat_severity" : "Moderate",
  "public_date" : "2018-05-17T17:00:00Z",
  "bugzilla" : {
    "description" : "procps: Local privilege escalation in top",
    "id" : "1575466",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1575466"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.7",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-829",
  "details" : [ "procps-ng before version 3.3.15 is vulnerable to a local privilege escalation in top. If a user runs top with HOME unset in an attacker-controlled directory, the attacker could achieve privilege escalation by exploiting one of several vulnerabilities in the config_file() function.", "If the HOME environment variable is unset or empty, top will read its configuration file from the current working directory without any security check. If a user runs top with HOME unset in an attacker-controlled directory, the attacker could achieve privilege escalation by exploiting one of several vulnerabilities in the config_file() function." ],
  "acknowledgement" : "Red Hat would like to thank Qualys Research Labs for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Ansible Tower 3.4 for RHEL 7",
    "release_date" : "2020-02-18T00:00:00Z",
    "advisory" : "RHBA-2020:0547",
    "cpe" : "cpe:/a:redhat:ansible_tower:3.4::el7",
    "package" : "ansible-tower-34/ansible-tower-memcached:1.4.15-28"
  }, {
    "product_name" : "Red Hat Ansible Tower 3.4 for RHEL 7",
    "release_date" : "2020-02-18T00:00:00Z",
    "advisory" : "RHBA-2020:0547",
    "cpe" : "cpe:/a:redhat:ansible_tower:3.4::el7",
    "package" : "ansible-tower-35/ansible-tower-memcached:1.4.15-28"
  }, {
    "product_name" : "Red Hat Ansible Tower 3.4 for RHEL 7",
    "release_date" : "2020-02-18T00:00:00Z",
    "advisory" : "RHBA-2020:0547",
    "cpe" : "cpe:/a:redhat:ansible_tower:3.4::el7",
    "package" : "ansible-tower-37/ansible-tower-memcached-rhel7:1.4.15-28"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2019-08-06T00:00:00Z",
    "advisory" : "RHSA-2019:2189",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "procps-ng-0:3.3.10-26.el7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Advanced Update Support",
    "release_date" : "2020-02-25T00:00:00Z",
    "advisory" : "RHSA-2020:0595",
    "cpe" : "cpe:/o:redhat:rhel_aus:7.4",
    "package" : "procps-ng-0:3.3.10-16.el7_4.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Telco Extended Update Support",
    "release_date" : "2020-02-25T00:00:00Z",
    "advisory" : "RHSA-2020:0595",
    "cpe" : "cpe:/o:redhat:rhel_tus:7.4",
    "package" : "procps-ng-0:3.3.10-16.el7_4.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions",
    "release_date" : "2020-02-25T00:00:00Z",
    "advisory" : "RHSA-2020:0595",
    "cpe" : "cpe:/o:redhat:rhel_e4s:7.4",
    "package" : "procps-ng-0:3.3.10-16.el7_4.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.5 Extended Update Support",
    "release_date" : "2020-04-01T00:00:00Z",
    "advisory" : "RHSA-2020:1265",
    "cpe" : "cpe:/o:redhat:rhel_eus:7.5",
    "package" : "procps-ng-0:3.3.10-17.el7_5.4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.6 Extended Update Support",
    "release_date" : "2020-04-14T00:00:00Z",
    "advisory" : "RHSA-2020:1464",
    "cpe" : "cpe:/o:redhat:rhel_eus:7.6",
    "package" : "procps-ng-0:3.3.10-23.el7_6.2"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Will not fix",
    "package_name" : "procps",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Will not fix",
    "package_name" : "procps",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "procps-ng",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2018-1122\nhttps://nvd.nist.gov/vuln/detail/CVE-2018-1122\nhttps://www.qualys.com/2018/05/17/procps-ng-audit-report-advisory.txt" ],
  "name" : "CVE-2018-1122",
  "csaw" : false
}