FreeBSD : py-setuptools -- Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (690144e9-4f88-11f1-982e-00a098b42aeb)

high Nessus Plugin ID 314916

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the 690144e9-4f88-11f1-982e-00a098b42aeb advisory.

https://github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxf reports:
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.

Tenable has extracted the preceding description block directly from the FreeBSD security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://cveawg.mitre.org/api/cve/CVE-2025-47273

http://www.nessus.org/u?d4e6116b

Plugin Details

Severity: High

ID: 314916

File Name: freebsd_pkg_690144e94f8811f1982e00a098b42aeb.nasl

Version: 1.1

Type: Local

Published: 5/15/2026

Updated: 5/15/2026

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2025-47273

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.7

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py312-setuptools, p-cpe:/a:freebsd:freebsd:py313-setuptools58, p-cpe:/a:freebsd:freebsd:py312-setuptools58, p-cpe:/a:freebsd:freebsd:py314-setuptools, p-cpe:/a:freebsd:freebsd:py314-setuptools58, p-cpe:/a:freebsd:freebsd:py313t-setuptools58, p-cpe:/a:freebsd:freebsd:py310-setuptools58, p-cpe:/a:freebsd:freebsd:py311-setuptools58, p-cpe:/a:freebsd:freebsd:py27-setuptools44, p-cpe:/a:freebsd:freebsd:py310-setuptools, p-cpe:/a:freebsd:freebsd:py313t-setuptools, cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:py311-setuptools, p-cpe:/a:freebsd:freebsd:py313-setuptools

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/14/2026

Vulnerability Publication Date: 5/17/2025

Reference Information

CVE: CVE-2025-47273