{
  "threat_severity" : "Low",
  "public_date" : "2021-03-11T22:49:00Z",
  "bugzilla" : {
    "description" : "rpm: missing length checks in hdrblobInit()",
    "id" : "1927741",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1927741"
  },
  "cvss3" : {
    "cvss3_base_score" : "3.1",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L",
    "status" : "verified"
  },
  "cwe" : "CWE-125",
  "details" : [ "A flaw was found in RPM's hdrblobInit() in lib/header.c. This flaw allows an attacker who can modify the rpmdb to cause an out-of-bounds read. The highest threat from this vulnerability is to system availability.", "A flaw was found in RPM’s hdrblobInit() in lib/header.c. This flaw allows an attacker who can modify the rpmdb to cause an out-of-bounds read. The highest threat from this vulnerability is to system availability." ],
  "statement" : "In order to exploit this flaw with rpm tooling as shipped in Red Hat Enterprise Linux, an attacker would need to already have root access to modify the rpm database.",
  "acknowledgement" : "Red Hat would like to thank Demi M. Obenour for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-11-09T00:00:00Z",
    "advisory" : "RHSA-2021:4489",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "rpm-0:4.14.3-19.el8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-11-09T00:00:00Z",
    "advisory" : "RHSA-2021:4489",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "rpm-0:4.14.3-19.el8"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "rpm",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "rpm",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "rpm",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2021-20266\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-20266" ],
  "name" : "CVE-2021-20266",
  "mitigation" : {
    "value" : "If using the headerCheck() and headerImport() APIs in your software, do not run them on headers from untrusted sources.",
    "lang" : "en:us"
  },
  "csaw" : false
}