{
  "threat_severity" : "Important",
  "public_date" : "2024-01-19T00:00:00Z",
  "bugzilla" : {
    "description" : "pillow: Arbitrary Code Execution via the environment parameter",
    "id" : "2259479",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2259479"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.1",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-77",
  "details" : [ "Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter).", "A vulnerability was found in Pillow, a popular Python imaging library. The flaw identified in the PIL.ImageMath.eval function enables arbitrary code execution by manipulating the environment parameter." ],
  "statement" : "The vulnerability in Pillow's PIL.ImageMath.eval function poses a significant threat due to its potential for arbitrary code execution. Pillow's widespread use in diverse domains makes this flaw particularly impactful, as it could lead to unauthorized access, data breaches, and compromise of entire systems. The complex exploitation method involving Python's dunder methods adds sophistication to potential attacks.",
  "affected_release" : [ {
    "product_name" : "Red Hat Ansible Automation Platform 2.4 for RHEL 8",
    "release_date" : "2024-06-10T00:00:00Z",
    "advisory" : "RHSA-2024:3781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:2.4::el8",
    "package" : "python3x-pillow-0:10.3.0-1.el8ap"
  }, {
    "product_name" : "Red Hat Ansible Automation Platform 2.4 for RHEL 9",
    "release_date" : "2024-06-10T00:00:00Z",
    "advisory" : "RHSA-2024:3781",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:2.4::el9",
    "package" : "python-pillow-0:10.3.0-1.el9ap"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2024-02-19T00:00:00Z",
    "advisory" : "RHSA-2024:0857",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "python-pillow-0:2.0.0-25.gitd1c6db8.el7_9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2024-02-20T00:00:00Z",
    "advisory" : "RHSA-2024:0893",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "python-pillow-0:5.1.1-18.el8_9.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Advanced Update Support",
    "release_date" : "2024-02-29T00:00:00Z",
    "advisory" : "RHSA-2024:1059",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.2",
    "package" : "python-pillow-0:5.1.1-15.el8_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
    "release_date" : "2024-02-29T00:00:00Z",
    "advisory" : "RHSA-2024:1060",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.4",
    "package" : "python-pillow-0:5.1.1-15.el8_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Telecommunications Update Service",
    "release_date" : "2024-02-29T00:00:00Z",
    "advisory" : "RHSA-2024:1060",
    "cpe" : "cpe:/a:redhat:rhel_tus:8.4",
    "package" : "python-pillow-0:5.1.1-15.el8_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions",
    "release_date" : "2024-02-29T00:00:00Z",
    "advisory" : "RHSA-2024:1060",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.4",
    "package" : "python-pillow-0:5.1.1-15.el8_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Extended Update Support",
    "release_date" : "2024-02-29T00:00:00Z",
    "advisory" : "RHSA-2024:1058",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.6",
    "package" : "python-pillow-0:5.1.1-19.el8_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Extended Update Support",
    "release_date" : "2024-02-08T00:00:00Z",
    "advisory" : "RHSA-2024:0754",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.8",
    "package" : "python-pillow-0:5.1.1-19.el8_8"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-50447\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-50447\nhttp://www.openwall.com/lists/oss-security/2024/01/20/1\nhttps://devhub.checkmarx.com/cve-details/CVE-2023-50447/\nhttps://duartecsantos.github.io/2023-01-02-CVE-2023-50447/\nhttps://github.com/python-pillow/Pillow/releases" ],
  "name" : "CVE-2023-50447",
  "mitigation" : {
    "value" : "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
    "lang" : "en:us"
  },
  "csaw" : false
}