Directory Traversal Affecting python39:3.9/python39-pytest package, versions <0:6.0.2-2.module_el8.6.0+2780+a40f65e1


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
1.59% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-PYTHON39-12446940
  • published2 Sept 2025
  • disclosed21 Jul 2025

Introduced: 21 Jul 2025

CVE-2025-47273  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 python39:3.9/python39-pytest to version 0:6.0.2-2.module_el8.6.0+2780+a40f65e1 or higher.
This issue was patched in ALSA-2025:14900.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python39:3.9/python39-pytest package and not the python39:3.9/python39-pytest package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in PackageIndex is present in setuptools prior to version 78.1.1. An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to remote code execution depending on the context. Version 78.1.1 fixes the issue.

CVSS Base Scores

version 3.1