Bug 2248699 - TRIAGE CVE-2023-41040 GitPython: Blind local file inclusion [epel-all]
Summary: TRIAGE CVE-2023-41040 GitPython: Blind local file inclusion [epel-all]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: GitPython
Version: epel8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Lubomír Sedlář
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2023-41040
TreeView+ depends on / blocked
 
Reported: 2023-11-08 13:24 UTC by ybuenos
Modified: 2025-04-25 02:10 UTC (History)
7 users (show)

Fixed In Version: GitPython-3.1.18-3.el8
Clone Of:
Environment:
Last Closed: 2025-04-25 02:10:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description ybuenos 2023-11-08 13:24:43 UTC
More information about this security flaw is available in the following bug:

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

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 ybuenos 2023-11-08 13:24:45 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=medium

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=2247040,2248699

# 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 3 Ben Beasley 2025-04-16 11:35:45 UTC
Per https://nvd.nist.gov/vuln/detail/CVE-2023-41040, this is fixed in GitPython 3.1.37 and later.

Therefore, only EPEL 8 has an affected version, 3.1.18. Other branches have at least 3.1.40.

Since GitPython has not always been fully compatible across patch releases, and quite a few things depend on it,

$ fedrq wrsrc -s GitPython -b epel8
centpkg-0.9.1-1.el8.src
csmock-3.8.0-1.el8.src
libabigail-2.6-1.el8.src
packit-0.59.0-2.el8.src
rebase-helper-0.27.0-1.el8.src
rpkg-1.68-1.el8.src

I attempted to backport https://github.com/gitpython-developers/GitPython/pull/1644 and https://github.com/gitpython-developers/GitPython/pull/1672 to version 3.1.18 in EPEL8.

https://src.fedoraproject.org/rpms/GitPython/pull-request/9

Comment 4 Fedora Update System 2025-04-16 14:19:21 UTC
FEDORA-EPEL-2025-106950fd79 (GitPython-3.1.18-3.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-106950fd79

Comment 5 Fedora Update System 2025-04-17 21:12:14 UTC
FEDORA-EPEL-2025-106950fd79 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-2025-106950fd79

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

Comment 6 Fedora Update System 2025-04-25 02:10:54 UTC
FEDORA-EPEL-2025-106950fd79 (GitPython-3.1.18-3.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.