CVE-2023-41040: Blind local file inclusion · Issue #1638 · gitpython-developers/GitPython
Repository navigation
CVE-2023-41040: Blind local file inclusion #1638
New issue
New issue
Closed
#1644
Closed
CVE-2023-41040: Blind local file inclusion #1638 #1644 Labels
acknowledged
help wanted
Description
@EliahKagan's profile EliahKagan opened on Aug 31, 2023This issue is for tracking the public vulnerability CVE-2023-41040 :
In order to resolve some git references, GitPython reads files from the
.gitdirectory, in some places the name of the file being read is provided by the user, GitPython doesn't check if this file is located outside the.gitdirectory. This allows an attacker to make GitPython read any file from the system.
Further details, including example code, are in CVE-2023-41040 .
(I'm opening this issue based on the idea in #1635 (comment) that it's useful to have issues for these. This CVE has been mentioned in #1635 , but if #1636 is merged then #1635 may be closed. #1636 fixes CVE-2023-40590 but does not also fix CVE-2023-41040 .)
Reacted by Kurt von Laven, igirardi, Dave Brondsema and Luke HsiaoMetadata
Metadata
Assignees
No one assignedLabels
acknowledged
help wanted