Commit Graph

6 Commits

Author SHA1 Message Date
RHEL Packaging Agent
acadd434d6 Security fix for CVE-2026-8643: path traversal in wheel entry points
Backport upstream commit 8eb178480bd1a2b223f509fc430796b265158dfb
to fix CVE-2026-8643. The patch adds validation to reject wheel
entry point names containing path traversal components (e.g. ".."
or absolute paths) that could cause scripts to be installed
outside the intended scripts directory. A new _script_within_dir
helper function and updated _raise_for_invalid_entrypoint logic
in pip's wheel installer enforce this check. Comprehensive tests
are included.

CVE: CVE-2026-8643
Upstream patches:
 - 8eb178480b.patch
Resolves: RHEL-191159

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-08 09:31:05 +02:00
Tomáš Hrnčiar
ba2a9ac387 Security fix for the bundled urllib3 for CVE-2025-50181
Taken from Fedora 8ddd39d
2025-11-26 13:45:19 +01:00
Tomáš Hrnčiar
103136a731 Include SBOM in the .whl file in python-pip-wheel
Taken from Fedora e2a1a1a
2025-11-26 13:45:19 +01:00
Tomáš Hrnčiar
ec4909f87e Update to 25.2 (rhbz#2385294)
Drop nowarn-pip._internal.main.patch as the warning is no longer emitted via ensurepip in Fedora Pythons.

Taken from Fedora 3a83d6c
2025-11-26 13:45:19 +01:00
Tomáš Hrnčiar
6678e7f0b3 Convert from Fedora for the Python 3.14 stack in RHEL
Fedora contributions by:
    Bill Nottingham <notting@fedoraproject.org>
    Charalampos Stratakis <cstratak@redhat.com>
    David Malcolm <dmalcolm@redhat.com>
    Dennis Gilmore <dennis@ausil.us>
    Jon Ciesla <limburgher@gmail.com>
    Karolina Surma <ksurma@redhat.com>
    Kevin Fenzi <kevin@fedoraproject.org>
    Kevin Kofler <Kevin@tigcc.ticalc.org>
    Lukáš Zachar <lzachar@redhat.com>
    Luke Macken <lmacken@redhat.com>
    Lumír Balhar <lbalhar@redhat.com>
    Marcel Plch <mplch@redhat.com>
    Matej Stuchlik <mstuchli@redhat.com>
    Maxwell G <maxwell@gtmx.me>
    Michal Cyprian <m.cyprian@gmail.com>
    Miro Hrončok <mhroncok@redhat.com>
    Orion Poplawski <orion@cora.nwra.com>
    Pádraig Brady <P@draigBrady.com>
    Peter Halliday <phalliday@excelsiorsystems.net>
    Petr Viktorin <pviktori@redhat.com>
    Robert Kuska <rkuska@redhat.com>
    Slavek Kabrda <bkabrda@redhat.com>
    Tim Flink <tflink@fedoraproject.org>
    Tomáš Hrnčiar <thrnciar@redhat.com>
    Tomas Orsava <torsava@redhat.com>
    Toshio Kuratomi <toshio@fedoraproject.org>
    Victor Stinner <vstinner@redhat.com>
    Ville Skyttä <ville.skytta@iki.fi>
2025-11-26 13:45:19 +01:00
Tomáš Hrnčiar
5f8f9fc6d3 RHEL: Rename SPEC to python3.14-pip.spec 2025-11-26 13:45:19 +01:00