Bug 2431969 (CVE-2025-71176)
| Summary: | CVE-2025-71176 pytest: pytest: Denial of Service or Privilege Escalation via insecure temporary directory handling | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | OSIDB Bzimport <bzimport> |
| Component: | vulnerability | Assignee: | Product Security DevOps Team <prodsec-dev> |
| Status: | NEW --- | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | adudiak, alinfoot, anthomas, aprice, bbrownin, carogers, caswilli, crizzo, dfreiber, drow, dschmidt, dtrifiro, eglynn, ehelms, erezende, ggainey, gtanzill, haoli, hkataria, jajackso, jburrell, jbuscemi, jcammara, jdobes, jjoyce, jkoehler, jlanda, jmitchel, jneedle, jpretori, jsamir, jschluet, juwatts, jwong, kaycoth, kegrant, kgaikwad, koliveir, kshier, lhh, ljawale, lphiri, luizcosta, mabashia, mbocek, mburns, mgarciac, mhayden, mhulan, mrunge, nmoumoul, nweather, oezr, omaciel, orabin, osousa, pbohmill, pbraun, pcreech, rbobbitt, rbryant, rchan, sdawley, sdoran, shvarugh, simaishi, smallamp, smcdonal, stcannon, teagle, tfister, thavo, tmalecek, ttakamiy, vimartin, vkumar, weaton, yguenane |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc 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.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2432023, 2432024 | ||
| Bug Blocks: | |||
pytest through 9.0.2 on UNIX relies on directories with the /tmp/pytest-of-{user} name pattern, which allows local users to cause a denial of service or possibly gain privileges.