Bug 2047815

Summary: CVE-2022-21699 ipython: arbitrary code execution by cross user temporary files mismanagment [epel-8]
Product: [Fedora] Fedora EPEL Reporter: Marian Rehak <mrehak>
Component: ipythonAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: epel8CC: dcantrell, lbalhar, maxwell, mhroncok, michel, mrunge, orion, python-sig, tomspur
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: ipython-7.16.3-1.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2135164 (view as bug list) Environment:
Last Closed: 2022-10-28 10:41:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 2047813    

Description Marian Rehak 2022-01-28 15:44:38 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

NOTE: this issue affects multiple supported versions of Fedora EPEL. While
only one tracking bug has been filed, please correct all affected versions
at the same time.  If you need to fix the versions independent of each
other, you may clone this bug as appropriate.

Comment 1 Marian Rehak 2022-01-28 15:44:41 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)

# low, medium, high, urgent (required)

# testing, stable

# Bug numbers: 1234,9876

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

# Enable request automation based on the stable/unstable karma thresholds

# Automatically close bugs when this marked as stable

# Suggest that users restart after update


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


Comment 3 Maxwell G 2022-10-16 22:26:12 UTC
I've submitted a PR to mitigate this in EPEL 8: https://src.fedoraproject.org/rpms/ipython/pull-request/45.

I'm creating a separate bug for EPEL 7 so that can be tracked separately. There is no upstream fix for the 3.x branch which is packaged there, so someone will need to backport the change or go through the EPEL incompatible updates policy. This is a high severity CVE that has gone unpatched in EPEL for 10 months, so it should be made a priority.

Comment 4 Fedora Update System 2022-10-19 21:09:23 UTC
FEDORA-EPEL-2022-48a9da6be8 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-48a9da6be8

Comment 5 Fedora Update System 2022-10-20 16:40:09 UTC
FEDORA-EPEL-2022-48a9da6be8 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-48a9da6be8

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

Comment 6 Fedora Update System 2022-10-28 10:41:41 UTC
FEDORA-EPEL-2022-48a9da6be8 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.