{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "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"
    },
    "title": "possible ReDoS via the getrgb function",
    "tracking": {
      "current_release_date": "2026-07-24T21:32:42+00:00",
      "generator": {
        "date": "2026-07-24T21:32:42+00:00",
        "engine": {
          "name": "CSAF Generator",
          "version": "3.1.0"
        }
      },
      "id": "CVE-2021-23437",
      "initial_release_date": "2021-09-03T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2026-07-24T21:32:42+00:00",
          "number": "1",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "category": "vendor",
        "name": "Red Hat",
        "branches": [
          {
            "category": "product_name",
            "name": "Red Hat Quay v3.6.0",
            "product": {
              "name": "Red Hat Quay v3.6.0",
              "product_id": "quay-3.6",
              "product_identification_helper": {
                "cpe": "cpe:/a:redhat:quay:3"
              }
            }
          },
          {
            "category": "product_name",
            "name": "Red Hat Enterprise Linux 7-els",
            "product": {
              "name": "Red Hat Enterprise Linux 7-els",
              "product_id": "rhel-7-els.els",
              "product_identification_helper": {
                "cpe": "cpe:/o:redhat:rhel_els:7"
              }
            }
          },
          {
            "category": "product_name",
            "name": "Red Hat Enterprise Linux 8.10.z",
            "product": {
              "name": "Red Hat Enterprise Linux 8.10.z",
              "product_id": "rhel-8",
              "product_identification_helper": {
                "cpe": "cpe:/a:redhat:enterprise_linux:8"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python-pillow",
            "product": {
              "name": "python-pillow",
              "product_id": "python-pillow",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-pillow"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python-pillow-debuginfo",
            "product": {
              "name": "python-pillow-debuginfo",
              "product_id": "python-pillow-debuginfo",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-pillow-debuginfo"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python-pillow-devel",
            "product": {
              "name": "python-pillow-devel",
              "product_id": "python-pillow-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-pillow-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python-pillow-doc",
            "product": {
              "name": "python-pillow-doc",
              "product_id": "python-pillow-doc",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-pillow-doc"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python-pillow-qt",
            "product": {
              "name": "python-pillow-qt",
              "product_id": "python-pillow-qt",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-pillow-qt"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python-pillow-sane",
            "product": {
              "name": "python-pillow-sane",
              "product_id": "python-pillow-sane",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-pillow-sane"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python-pillow-tk",
            "product": {
              "name": "python-pillow-tk",
              "product_id": "python-pillow-tk",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-pillow-tk"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python-pillow",
            "product": {
              "name": "python-pillow",
              "product_id": "python-pillow.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python-pillow?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python3-pillow",
            "product": {
              "name": "python3-pillow",
              "product_id": "python3-pillow",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python3-pillow"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python3-pillow-devel",
            "product": {
              "name": "python3-pillow-devel",
              "product_id": "python3-pillow-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python3-pillow-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python3-pillow-doc",
            "product": {
              "name": "python3-pillow-doc",
              "product_id": "python3-pillow-doc",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python3-pillow-doc"
              }
            }
          },
          {
            "category": "product_version",
            "name": "python3-pillow-tk",
            "product": {
              "name": "python3-pillow-tk",
              "product_id": "python3-pillow-tk",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/python3-pillow-tk"
              }
            }
          },
          {
            "category": "product_version",
            "name": "quay/quay-rhel8",
            "product": {
              "name": "quay/quay-rhel8",
              "product_id": "quay/quay-rhel8",
              "product_identification_helper": {
                "purl": "pkg:oci/quay-rhel8?repository_url=registry.redhat.io/quay/quay-rhel8"
              }
            }
          }
        ]
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow as a component of Red Hat Enterprise Linux 7-els",
          "product_id": "rhel-7-els.els:python-pillow"
        },
        "product_reference": "python-pillow",
        "relates_to_product_reference": "rhel-7-els.els"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow-debuginfo as a component of Red Hat Enterprise Linux 7-els",
          "product_id": "rhel-7-els.els:python-pillow-debuginfo"
        },
        "product_reference": "python-pillow-debuginfo",
        "relates_to_product_reference": "rhel-7-els.els"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow-devel as a component of Red Hat Enterprise Linux 7-els",
          "product_id": "rhel-7-els.els:python-pillow-devel"
        },
        "product_reference": "python-pillow-devel",
        "relates_to_product_reference": "rhel-7-els.els"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow-doc as a component of Red Hat Enterprise Linux 7-els",
          "product_id": "rhel-7-els.els:python-pillow-doc"
        },
        "product_reference": "python-pillow-doc",
        "relates_to_product_reference": "rhel-7-els.els"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow-qt as a component of Red Hat Enterprise Linux 7-els",
          "product_id": "rhel-7-els.els:python-pillow-qt"
        },
        "product_reference": "python-pillow-qt",
        "relates_to_product_reference": "rhel-7-els.els"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow-sane as a component of Red Hat Enterprise Linux 7-els",
          "product_id": "rhel-7-els.els:python-pillow-sane"
        },
        "product_reference": "python-pillow-sane",
        "relates_to_product_reference": "rhel-7-els.els"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow-tk as a component of Red Hat Enterprise Linux 7-els",
          "product_id": "rhel-7-els.els:python-pillow-tk"
        },
        "product_reference": "python-pillow-tk",
        "relates_to_product_reference": "rhel-7-els.els"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow.src as a component of Red Hat Enterprise Linux 8.10.z",
          "product_id": "rhel-8:python-pillow.src"
        },
        "product_reference": "python-pillow.src",
        "relates_to_product_reference": "rhel-8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow.src as a component of Red Hat Enterprise Linux 7-els",
          "product_id": "rhel-7-els.els:python-pillow.src"
        },
        "product_reference": "python-pillow.src",
        "relates_to_product_reference": "rhel-7-els.els"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-pillow as a component of Red Hat Enterprise Linux 8.10.z",
          "product_id": "rhel-8:python3-pillow"
        },
        "product_reference": "python3-pillow",
        "relates_to_product_reference": "rhel-8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-pillow-devel as a component of Red Hat Enterprise Linux 8.10.z",
          "product_id": "rhel-8:python3-pillow-devel"
        },
        "product_reference": "python3-pillow-devel",
        "relates_to_product_reference": "rhel-8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-pillow-doc as a component of Red Hat Enterprise Linux 8.10.z",
          "product_id": "rhel-8:python3-pillow-doc"
        },
        "product_reference": "python3-pillow-doc",
        "relates_to_product_reference": "rhel-8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-pillow-tk as a component of Red Hat Enterprise Linux 8.10.z",
          "product_id": "rhel-8:python3-pillow-tk"
        },
        "product_reference": "python3-pillow-tk",
        "relates_to_product_reference": "rhel-8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "quay/quay-rhel8 as a component of Red Hat Quay v3.6.0",
          "product_id": "quay-3.6:quay/quay-rhel8"
        },
        "product_reference": "quay/quay-rhel8",
        "relates_to_product_reference": "quay-3.6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-23437",
      "cwe": {
        "id": "CWE-400",
        "name": "Uncontrolled Resource Consumption"
      },
      "discovery_date": "2021-09-03T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "rhel-7-els.els:python-pillow",
            "rhel-7-els.els:python-pillow-debuginfo",
            "rhel-7-els.els:python-pillow-devel",
            "rhel-7-els.els:python-pillow-doc",
            "rhel-7-els.els:python-pillow-qt",
            "rhel-7-els.els:python-pillow-sane",
            "rhel-7-els.els:python-pillow-tk",
            "rhel-7-els.els:python-pillow.src",
            "rhel-8:python3-pillow-devel",
            "rhel-8:python3-pillow-doc"
          ]
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in python-pillow, where a Regular Expression Denial of Service (ReDoS) via the getrgb function occurs. The highest threat from this vulnerability is to system availability.",
          "title": "Vulnerability description"
        }
      ],
      "product_status": {
        "known_affected": [
          "quay-3.6:quay/quay-rhel8",
          "rhel-8:python-pillow.src",
          "rhel-8:python3-pillow",
          "rhel-8:python3-pillow-tk"
        ],
        "known_not_affected": [
          "rhel-7-els.els:python-pillow",
          "rhel-7-els.els:python-pillow-debuginfo",
          "rhel-7-els.els:python-pillow-devel",
          "rhel-7-els.els:python-pillow-doc",
          "rhel-7-els.els:python-pillow-qt",
          "rhel-7-els.els:python-pillow-sane",
          "rhel-7-els.els:python-pillow-tk",
          "rhel-7-els.els:python-pillow.src",
          "rhel-8:python3-pillow-devel",
          "rhel-8:python3-pillow-doc"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-23437"
        },
        {
          "category": "external",
          "summary": "nvd.nist.gov",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23437"
        },
        {
          "category": "external",
          "summary": "www.cve.org",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-23437"
        }
      ],
      "remediations": [
        {
          "category": "no_fix_planned",
          "details": "Will not fix",
          "product_ids": [
            "rhel-8:python-pillow.src",
            "rhel-8:python3-pillow",
            "rhel-8:python3-pillow-tk"
          ]
        },
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "quay-3.6:quay/quay-rhel8"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "baseScore": 7.5,
            "baseSeverity": "HIGH"
          },
          "products": [
            "quay-3.6:quay/quay-rhel8",
            "rhel-7-els.els:python-pillow",
            "rhel-7-els.els:python-pillow-debuginfo",
            "rhel-7-els.els:python-pillow-devel",
            "rhel-7-els.els:python-pillow-doc",
            "rhel-7-els.els:python-pillow-qt",
            "rhel-7-els.els:python-pillow-sane",
            "rhel-7-els.els:python-pillow-tk",
            "rhel-7-els.els:python-pillow.src",
            "rhel-8:python-pillow.src",
            "rhel-8:python3-pillow",
            "rhel-8:python3-pillow-devel",
            "rhel-8:python3-pillow-doc",
            "rhel-8:python3-pillow-tk"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "quay-3.6:quay/quay-rhel8",
            "rhel-7-els.els:python-pillow",
            "rhel-7-els.els:python-pillow-debuginfo",
            "rhel-7-els.els:python-pillow-devel",
            "rhel-7-els.els:python-pillow-doc",
            "rhel-7-els.els:python-pillow-qt",
            "rhel-7-els.els:python-pillow-sane",
            "rhel-7-els.els:python-pillow-tk",
            "rhel-7-els.els:python-pillow.src",
            "rhel-8:python-pillow.src",
            "rhel-8:python3-pillow",
            "rhel-8:python3-pillow-devel",
            "rhel-8:python3-pillow-doc",
            "rhel-8:python3-pillow-tk"
          ]
        }
      ],
      "title": "possible ReDoS via the getrgb function"
    }
  ]
}