ADVISORIES

GitHub Advisory Database

GHSA-6w46-j5rx-g56g

pytest has vulnerable tmpdir handling

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIpytest
All versions before 9.0.3 (fixed in 9.0.3)

References