Bug 2298675

Summary: CVE-2024-6345 pypy: pypa/setuptools: Remote code execution via download functions in the package_index module in pypa/setuptools [fedora-all]
Product: [Fedora] Fedora Reporter: Avinash Hanwate <ahanwate>
Component: pypyAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 40CC: mhroncok, python-maint, python-packagers-sig, thrnciar, torsava
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pypy-7.3.16-2.fc41 pypy-7.3.16-2.fc39 pypy-7.3.16-2.fc40 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-03 14:03:04 UTC 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:    
Bug Blocks: 2297771    

Description Avinash Hanwate 2024-07-18 13:14:12 UTC
More information about this security flaw is available in the following bug:

http://bugzilla.redhat.com/show_bug.cgi?id=2297771

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Avinash Hanwate 2024-07-18 13:14:15 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# low, medium, high, urgent (required)
severity=high

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=2297771,2298675

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Miro Hrončok 2024-07-31 12:27:31 UTC
See https://src.fedoraproject.org/rpms/python3.6/c/98e458e2e0184bc894599212c55c48d5885eba22?branch=rawhide about how to apply a patch to a wheel

See https://gitlab.com/redhat/centos-stream/rpms/python-setuptools/-/merge_requests/14 for a patch that might be compatible with Python 2.

Comment 3 Fedora Update System 2024-08-03 13:58:34 UTC
FEDORA-2024-22a01aab2f (pypy-7.3.16-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-22a01aab2f

Comment 4 Fedora Update System 2024-08-03 14:03:04 UTC
FEDORA-2024-22a01aab2f (pypy-7.3.16-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2024-08-04 09:40:50 UTC
FEDORA-2024-4b0d95b102 (pypy-7.3.16-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-4b0d95b102

Comment 6 Fedora Update System 2024-08-04 09:41:26 UTC
FEDORA-2024-c5152808e4 (pypy-7.3.16-2.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c5152808e4

Comment 7 Fedora Update System 2024-08-05 02:18:24 UTC
FEDORA-2024-4b0d95b102 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4b0d95b102`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4b0d95b102

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-08-05 02:33:23 UTC
FEDORA-2024-c5152808e4 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c5152808e4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c5152808e4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-08-13 01:34:49 UTC
FEDORA-2024-c5152808e4 (pypy-7.3.16-2.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-08-13 07:45:40 UTC
FEDORA-2024-4b0d95b102 (pypy-7.3.16-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.