{
  "threat_severity" : "Moderate",
  "public_date" : "2021-04-01T00:00:00Z",
  "bugzilla" : {
    "description" : "python-pillow: Excessive CPU use in EPS image reader",
    "id" : "1958257",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1958257"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-20",
  "details" : [ "An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \\r and \\n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening.", "A flaw was found in python-pillow. The readline used in EPS has to deal with any combination of \\r and \\n as line endings. It accidentally used a quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a denial-of-service of Pillow in the open phase, before an image was accepted for opening." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-11-09T00:00:00Z",
    "advisory" : "RHSA-2021:4149",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "python-pillow-0:5.1.1-16.el8"
  } ],
  "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"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2021-28677\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-28677" ],
  "name" : "CVE-2021-28677",
  "mitigation" : {
    "value" : "To mitigate this feature on Red Hat Quay keep the invoice generation feature disabled, as it is by default.",
    "lang" : "en:us"
  },
  "csaw" : false
}