{
  "threat_severity" : "Moderate",
  "public_date" : "2022-01-02T00:00:00Z",
  "bugzilla" : {
    "description" : "python-pillow: improperly initializes ImagePath.Path in path_getbbox() in path.c",
    "id" : "2042511",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2042511"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L",
    "status" : "verified"
  },
  "cwe" : "CWE-908",
  "details" : [ "path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.", "A flaw was found in python-pillow. The vulnerability occurs due to improper initialization of image paths, leading to improperly initializing the ImagePath. This flaw allows an attacker to access unauthorized memory that causes memory access errors, incorrect results, or crashes." ],
  "statement" : "Red Hat Quay ships a vulnerable version of Pillow as a dependency of xhtml2pdf. The xhtml2pdf package is used in the invoice generation feature of Quay, however, the vulnerable ImagePath module is not used by xhtml2pdf. Therefore impact for Quay is rated Low.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-02-22T00:00:00Z",
    "advisory" : "RHSA-2022:0643",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "python-pillow-0:5.1.1-18.el8_5"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "python-pillow",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Quay 3",
    "fix_state" : "Affected",
    "package_name" : "quay/quay-rhel8",
    "cpe" : "cpe:/a:redhat:quay:3",
    "impact" : "low"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-22815\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-22815\nhttps://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling" ],
  "name" : "CVE-2022-22815",
  "csaw" : false
}