Bug 2168161 (CVE-2023-23946)

Summary: CVE-2023-23946 git: git apply: a path outside the working tree can be overwritten with crafted input
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdettelb, caswilli, chazlett, fjansen, hkataria, jburrell, jkoehler, kaycoth, kshier, kyoshida, opohorel, pjindal, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in Git. This security issue occurs when feeding a crafted input to "git apply." A path outside the working tree can be overwritten by the user running "git apply."
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-22 12:44:02 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: 2168200, 2168201, 2170912, 2189873, 2189977, 2190158    
Bug Blocks: 2168115    

Description TEJ RATHI 2023-02-08 10:44:18 UTC
By feeding a crafted input to "git apply", a path outside the working tree can be overwritten as the user who is running "git apply".

Comment 3 Sandipan Roy 2023-02-17 15:51:32 UTC
Created git tracking bugs for this issue:

Affects: fedora-all [bug 2170912]

Comment 4 errata-xmlrpc 2023-05-22 07:04:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:3245 https://access.redhat.com/errata/RHSA-2023:3245

Comment 5 errata-xmlrpc 2023-05-22 07:04:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:3246 https://access.redhat.com/errata/RHSA-2023:3246

Comment 6 Product Security DevOps Team 2023-05-22 12:44:00 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-23946

Comment 8 errata-xmlrpc 2024-01-24 16:41:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:0407 https://access.redhat.com/errata/RHSA-2024:0407