rhsa-2024_1059
Vulnerability from csaf_redhat
Published
2024-02-29 17:23
Modified
2024-09-16 17:13
Summary
Red Hat Security Advisory: python-pillow security update

Notes

Topic
An update for python-pillow is now available for Red Hat Enterprise Linux 8.2 Advanced Update Support. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
The python-pillow packages contain a Python image processing library that provides extensive file format support, an efficient internal representation, and powerful image-processing capabilities. Security Fix(es): * pillow:Arbitrary Code Execution via the environment parameter (CVE-2023-50447) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for python-pillow is now available for Red Hat Enterprise Linux 8.2 Advanced Update Support.\n\nRed Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "The python-pillow packages contain a Python image processing library that provides extensive file format support, an efficient internal representation, and powerful image-processing capabilities.\n\nSecurity Fix(es):\n\n* pillow:Arbitrary Code Execution via the environment parameter (CVE-2023-50447)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "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 offerings.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2024:1059",
        "url": "https://access.redhat.com/errata/RHSA-2024:1059"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#important",
        "url": "https://access.redhat.com/security/updates/classification/#important"
      },
      {
        "category": "external",
        "summary": "2259479",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2259479"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://access.redhat.com/security/data/csaf/v2/advisories/2024/rhsa-2024_1059.json"
      }
    ],
    "title": "Red Hat Security Advisory: python-pillow security update",
    "tracking": {
      "current_release_date": "2024-09-16T17:13:06+00:00",
      "generator": {
        "date": "2024-09-16T17:13:06+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "3.33.3"
        }
      },
      "id": "RHSA-2024:1059",
      "initial_release_date": "2024-02-29T17:23:50+00:00",
      "revision_history": [
        {
          "date": "2024-02-29T17:23:50+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2024-02-29T17:23:50+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-09-16T17:13:06+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux AppStream AUS (v. 8.2)",
                "product": {
                  "name": "Red Hat Enterprise Linux AppStream AUS (v. 8.2)",
                  "product_id": "AppStream-8.2.0.Z.AUS",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:rhel_aus:8.2::appstream"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python-pillow-0:5.1.1-15.el8_2.src",
                "product": {
                  "name": "python-pillow-0:5.1.1-15.el8_2.src",
                  "product_id": "python-pillow-0:5.1.1-15.el8_2.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python-pillow@5.1.1-15.el8_2?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python3-pillow-0:5.1.1-15.el8_2.x86_64",
                "product": {
                  "name": "python3-pillow-0:5.1.1-15.el8_2.x86_64",
                  "product_id": "python3-pillow-0:5.1.1-15.el8_2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python3-pillow@5.1.1-15.el8_2?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "python-pillow-debugsource-0:5.1.1-15.el8_2.x86_64",
                "product": {
                  "name": "python-pillow-debugsource-0:5.1.1-15.el8_2.x86_64",
                  "product_id": "python-pillow-debugsource-0:5.1.1-15.el8_2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python-pillow-debugsource@5.1.1-15.el8_2?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "python-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
                "product": {
                  "name": "python-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
                  "product_id": "python-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python-pillow-debuginfo@5.1.1-15.el8_2?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "python3-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
                "product": {
                  "name": "python3-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
                  "product_id": "python3-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python3-pillow-debuginfo@5.1.1-15.el8_2?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "python3-pillow-tk-debuginfo-0:5.1.1-15.el8_2.x86_64",
                "product": {
                  "name": "python3-pillow-tk-debuginfo-0:5.1.1-15.el8_2.x86_64",
                  "product_id": "python3-pillow-tk-debuginfo-0:5.1.1-15.el8_2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python3-pillow-tk-debuginfo@5.1.1-15.el8_2?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow-0:5.1.1-15.el8_2.src as a component of Red Hat Enterprise Linux AppStream AUS (v. 8.2)",
          "product_id": "AppStream-8.2.0.Z.AUS:python-pillow-0:5.1.1-15.el8_2.src"
        },
        "product_reference": "python-pillow-0:5.1.1-15.el8_2.src",
        "relates_to_product_reference": "AppStream-8.2.0.Z.AUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v. 8.2)",
          "product_id": "AppStream-8.2.0.Z.AUS:python-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64"
        },
        "product_reference": "python-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
        "relates_to_product_reference": "AppStream-8.2.0.Z.AUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-pillow-debugsource-0:5.1.1-15.el8_2.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v. 8.2)",
          "product_id": "AppStream-8.2.0.Z.AUS:python-pillow-debugsource-0:5.1.1-15.el8_2.x86_64"
        },
        "product_reference": "python-pillow-debugsource-0:5.1.1-15.el8_2.x86_64",
        "relates_to_product_reference": "AppStream-8.2.0.Z.AUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-pillow-0:5.1.1-15.el8_2.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v. 8.2)",
          "product_id": "AppStream-8.2.0.Z.AUS:python3-pillow-0:5.1.1-15.el8_2.x86_64"
        },
        "product_reference": "python3-pillow-0:5.1.1-15.el8_2.x86_64",
        "relates_to_product_reference": "AppStream-8.2.0.Z.AUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v. 8.2)",
          "product_id": "AppStream-8.2.0.Z.AUS:python3-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64"
        },
        "product_reference": "python3-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
        "relates_to_product_reference": "AppStream-8.2.0.Z.AUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-pillow-tk-debuginfo-0:5.1.1-15.el8_2.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v. 8.2)",
          "product_id": "AppStream-8.2.0.Z.AUS:python3-pillow-tk-debuginfo-0:5.1.1-15.el8_2.x86_64"
        },
        "product_reference": "python3-pillow-tk-debuginfo-0:5.1.1-15.el8_2.x86_64",
        "relates_to_product_reference": "AppStream-8.2.0.Z.AUS"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2023-50447",
      "cwe": {
        "id": "CWE-77",
        "name": "Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"
      },
      "discovery_date": "2024-01-22T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2259479"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "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.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "pillow: Arbitrary Code Execution via the environment parameter",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "The vulnerability in Pillow\u0027s PIL.ImageMath.eval function poses a significant threat due to its potential for arbitrary code execution. Pillow\u0027s 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\u0027s dunder methods adds sophistication to potential attacks.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "AppStream-8.2.0.Z.AUS:python-pillow-0:5.1.1-15.el8_2.src",
          "AppStream-8.2.0.Z.AUS:python-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
          "AppStream-8.2.0.Z.AUS:python-pillow-debugsource-0:5.1.1-15.el8_2.x86_64",
          "AppStream-8.2.0.Z.AUS:python3-pillow-0:5.1.1-15.el8_2.x86_64",
          "AppStream-8.2.0.Z.AUS:python3-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
          "AppStream-8.2.0.Z.AUS:python3-pillow-tk-debuginfo-0:5.1.1-15.el8_2.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2023-50447"
        },
        {
          "category": "external",
          "summary": "RHBZ#2259479",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2259479"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2023-50447",
          "url": "https://www.cve.org/CVERecord?id=CVE-2023-50447"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2023-50447",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-50447"
        },
        {
          "category": "external",
          "summary": "http://www.openwall.com/lists/oss-security/2024/01/20/1",
          "url": "http://www.openwall.com/lists/oss-security/2024/01/20/1"
        },
        {
          "category": "external",
          "summary": "https://devhub.checkmarx.com/cve-details/CVE-2023-50447/",
          "url": "https://devhub.checkmarx.com/cve-details/CVE-2023-50447/"
        },
        {
          "category": "external",
          "summary": "https://duartecsantos.github.io/2023-01-02-CVE-2023-50447/",
          "url": "https://duartecsantos.github.io/2023-01-02-CVE-2023-50447/"
        },
        {
          "category": "external",
          "summary": "https://github.com/python-pillow/Pillow/releases",
          "url": "https://github.com/python-pillow/Pillow/releases"
        }
      ],
      "release_date": "2024-01-19T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "AppStream-8.2.0.Z.AUS:python-pillow-0:5.1.1-15.el8_2.src",
            "AppStream-8.2.0.Z.AUS:python-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python-pillow-debugsource-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python3-pillow-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python3-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python3-pillow-tk-debuginfo-0:5.1.1-15.el8_2.x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2024:1059"
        },
        {
          "category": "workaround",
          "details": "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.",
          "product_ids": [
            "AppStream-8.2.0.Z.AUS:python-pillow-0:5.1.1-15.el8_2.src",
            "AppStream-8.2.0.Z.AUS:python-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python-pillow-debugsource-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python3-pillow-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python3-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python3-pillow-tk-debuginfo-0:5.1.1-15.el8_2.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "AppStream-8.2.0.Z.AUS:python-pillow-0:5.1.1-15.el8_2.src",
            "AppStream-8.2.0.Z.AUS:python-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python-pillow-debugsource-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python3-pillow-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python3-pillow-debuginfo-0:5.1.1-15.el8_2.x86_64",
            "AppStream-8.2.0.Z.AUS:python3-pillow-tk-debuginfo-0:5.1.1-15.el8_2.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "pillow: Arbitrary Code Execution via the environment parameter"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...