{
  "document" : {
    "aggregate_severity" : {
      "namespace" : "https://access.redhat.com/security/updates/classification/",
      "text" : "Moderate"
    },
    "category" : "csaf_security_advisory",
    "csaf_version" : "2.0",
    "distribution" : {
      "text" : "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp" : {
        "label" : "WHITE",
        "url" : "https://www.first.org/tlp/"
      }
    },
    "lang" : "en",
    "notes" : [ {
      "category" : "summary",
      "text" : "An update for Red Hat Hardened Images RPMs is now available.",
      "title" : "Topic"
    }, {
      "category" : "general",
      "text" : "This update includes the following RPMs:\n\npytest:\n  * python3-pytest-9.0.3-1.hum1 (noarch)\n  * pytest-9.0.3-1.hum1.src (src)",
      "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 products and services.",
      "name" : "Red Hat Product Security",
      "namespace" : "https://www.redhat.com"
    },
    "references" : [ {
      "category" : "self",
      "summary" : "https://access.redhat.com/errata/RHSA-2026:8580",
      "url" : "https://access.redhat.com/errata/RHSA-2026:8580"
    }, {
      "category" : "external",
      "summary" : "https://images.redhat.com/",
      "url" : "https://images.redhat.com/"
    }, {
      "category" : "external",
      "summary" : "https://access.redhat.com/security/cve/CVE-2025-71176",
      "url" : "https://access.redhat.com/security/cve/CVE-2025-71176"
    }, {
      "category" : "external",
      "summary" : "https://access.redhat.com/security/updates/classification/",
      "url" : "https://access.redhat.com/security/updates/classification/"
    }, {
      "category" : "self",
      "summary" : "Canonical URL",
      "url" : "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_8580.json"
    } ],
    "title" : "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
    "tracking" : {
      "current_release_date" : "2026-04-19T19:40:33+00:00",
      "generator" : {
        "date" : "2026-04-19T19:40:33+00:00",
        "engine" : {
          "name" : "Red Hat SDEngine",
          "version" : "4.7.5"
        }
      },
      "id" : "RHSA-2026:8580",
      "initial_release_date" : "2026-04-16T20:56:52+00:00",
      "revision_history" : [ {
        "date" : "2026-04-16T20:56:52+00:00",
        "number" : "1",
        "summary" : "Initial version"
      }, {
        "date" : "2026-04-18T19:58:28+00:00",
        "number" : "2",
        "summary" : "Last updated version"
      }, {
        "date" : "2026-04-19T19:40:33+00:00",
        "number" : "3",
        "summary" : "Last generated version"
      } ],
      "status" : "final",
      "version" : "3"
    }
  },
  "product_tree" : {
    "branches" : [ {
      "branches" : [ {
        "branches" : [ {
          "category" : "product_name",
          "name" : "Red Hat Hardened Images",
          "product" : {
            "name" : "Red Hat Hardened Images",
            "product_id" : "Red Hat Hardened Images",
            "product_identification_helper" : {
              "cpe" : "cpe:/a:redhat:hummingbird:1"
            }
          }
        } ],
        "category" : "product_family",
        "name" : "Red Hat Hardened Images"
      }, {
        "branches" : [ {
          "category" : "product_version",
          "name" : "pytest-main@src",
          "product" : {
            "name" : "pytest-main@src",
            "product_id" : "pytest-main@src",
            "product_identification_helper" : {
              "purl" : "pkg:rpm/redhat/pytest@9.0.3-1.hum1?arch=src&distro=hummingbird-20251124&repository_id=public-hummingbird-source-rpms"
            }
          }
        } ],
        "category" : "architecture",
        "name" : "src"
      }, {
        "branches" : [ {
          "category" : "product_version",
          "name" : "pytest-main@noarch",
          "product" : {
            "name" : "pytest-main@noarch",
            "product_id" : "pytest-main@noarch",
            "product_identification_helper" : {
              "purl" : "pkg:rpm/redhat/python3-pytest@9.0.3-1.hum1?arch=noarch&distro=hummingbird-20251124&repository_id=public-hummingbird-x86_64-rpms"
            }
          }
        } ],
        "category" : "architecture",
        "name" : "noarch"
      } ],
      "category" : "vendor",
      "name" : "Red Hat"
    } ],
    "relationships" : [ {
      "category" : "default_component_of",
      "full_product_name" : {
        "name" : "pytest-main@noarch as a component of Red Hat Hardened Images",
        "product_id" : "Red Hat Hardened Images:pytest-main@noarch"
      },
      "product_reference" : "pytest-main@noarch",
      "relates_to_product_reference" : "Red Hat Hardened Images"
    }, {
      "category" : "default_component_of",
      "full_product_name" : {
        "name" : "pytest-main@src as a component of Red Hat Hardened Images",
        "product_id" : "Red Hat Hardened Images:pytest-main@src"
      },
      "product_reference" : "pytest-main@src",
      "relates_to_product_reference" : "Red Hat Hardened Images"
    } ]
  },
  "vulnerabilities" : [ {
    "cve" : "CVE-2025-71176",
    "cwe" : {
      "id" : "CWE-379",
      "name" : "Creation of Temporary File in Directory with Insecure Permissions"
    },
    "discovery_date" : "2026-01-22T06:01:00.713392+00:00",
    "ids" : [ {
      "system_name" : "Red Hat Bugzilla ID",
      "text" : "2431969"
    } ],
    "notes" : [ {
      "category" : "description",
      "text" : "A flaw was found in pytest. This vulnerability allows local users to exploit insecure temporary directory handling, specifically the reliance on predictable directory names in /tmp/pytest-of-{user}. An attacker can leverage this to cause a denial of service (DoS) or potentially gain elevated privileges on the system.",
      "title" : "Vulnerability description"
    }, {
      "category" : "summary",
      "text" : "pytest: pytest: Denial of Service or Privilege Escalation via insecure temporary directory handling",
      "title" : "Vulnerability summary"
    }, {
      "category" : "other",
      "text" : "This vulnerability is rated Moderate for Red Hat products. The flaw in pytest allows a local attacker to cause a denial of service or potentially gain privileges by manipulating temporary directories in `/tmp`. This primarily affects systems where pytest is installed and executed by local users.",
      "title" : "Statement"
    }, {
      "category" : "general",
      "text" : "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
      "title" : "CVSS score applicability"
    } ],
    "product_status" : {
      "fixed" : [ "Red Hat Hardened Images:pytest-main@noarch", "Red Hat Hardened Images:pytest-main@src" ]
    },
    "references" : [ {
      "category" : "self",
      "summary" : "Canonical URL",
      "url" : "https://access.redhat.com/security/cve/CVE-2025-71176"
    }, {
      "category" : "external",
      "summary" : "RHBZ#2431969",
      "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2431969"
    }, {
      "category" : "external",
      "summary" : "https://www.cve.org/CVERecord?id=CVE-2025-71176",
      "url" : "https://www.cve.org/CVERecord?id=CVE-2025-71176"
    }, {
      "category" : "external",
      "summary" : "https://nvd.nist.gov/vuln/detail/CVE-2025-71176",
      "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-71176"
    }, {
      "category" : "external",
      "summary" : "https://github.com/pytest-dev/pytest/issues/13669",
      "url" : "https://github.com/pytest-dev/pytest/issues/13669"
    }, {
      "category" : "external",
      "summary" : "https://www.openwall.com/lists/oss-security/2026/01/21/5",
      "url" : "https://www.openwall.com/lists/oss-security/2026/01/21/5"
    } ],
    "release_date" : "2026-01-22T04:59:17.273000+00:00",
    "remediations" : [ {
      "category" : "vendor_fix",
      "date" : "2026-04-16T20:56:52+00:00",
      "details" : "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
      "product_ids" : [ "Red Hat Hardened Images:pytest-main@noarch", "Red Hat Hardened Images:pytest-main@src" ],
      "restart_required" : {
        "category" : "none"
      },
      "url" : "https://access.redhat.com/errata/RHSA-2026:8580"
    }, {
      "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" : [ "Red Hat Hardened Images:pytest-main@noarch", "Red Hat Hardened Images:pytest-main@src" ]
    } ],
    "scores" : [ {
      "cvss_v3" : {
        "attackComplexity" : "LOW",
        "attackVector" : "LOCAL",
        "availabilityImpact" : "LOW",
        "baseScore" : 6.8,
        "baseSeverity" : "MEDIUM",
        "confidentialityImpact" : "LOW",
        "integrityImpact" : "LOW",
        "privilegesRequired" : "NONE",
        "scope" : "CHANGED",
        "userInteraction" : "NONE",
        "vectorString" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L",
        "version" : "3.1"
      },
      "products" : [ "Red Hat Hardened Images:pytest-main@noarch", "Red Hat Hardened Images:pytest-main@src" ]
    } ],
    "threats" : [ {
      "category" : "impact",
      "details" : "Moderate"
    } ],
    "title" : "pytest: pytest: Denial of Service or Privilege Escalation via insecure temporary directory handling"
  } ]
}