Bug 2280446 (CVE-2024-32465) - CVE-2024-32465 git: additional local RCE
Summary: CVE-2024-32465 git: additional local RCE
Keywords:
Status: NEW
Alias: CVE-2024-32465
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2280447 2280448 2280449 2280450 2280451 2280453 2280454 2280455 2280456 2280457 2280459
Blocks: 2280416
TreeView+ depends on / blocked
 
Reported: 2024-05-14 23:39 UTC by Nick Tait
Modified: 2024-07-11 14:28 UTC (History)
27 users (show)

Fixed In Version: git 2.45.1, git 2.44.1, git 2.43.4, git 2.42.2, git 2.41.1 , git 2.40.2, git 2.39.4
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:4093 0 None None None 2024-06-25 11:24:48 UTC
Red Hat Product Errata RHBA-2024:4094 0 None None None 2024-06-25 11:22:51 UTC
Red Hat Product Errata RHBA-2024:4095 0 None None None 2024-06-25 11:24:02 UTC
Red Hat Product Errata RHBA-2024:4096 0 None None None 2024-06-25 11:24:32 UTC
Red Hat Product Errata RHBA-2024:4097 0 None None None 2024-06-25 11:39:53 UTC
Red Hat Product Errata RHBA-2024:4100 0 None None None 2024-06-25 14:35:50 UTC
Red Hat Product Errata RHBA-2024:4130 0 None None None 2024-06-26 14:29:14 UTC
Red Hat Product Errata RHBA-2024:4169 0 None None None 2024-06-27 15:37:32 UTC
Red Hat Product Errata RHBA-2024:4171 0 None None None 2024-06-27 15:42:10 UTC
Red Hat Product Errata RHBA-2024:4180 0 None None None 2024-07-01 01:09:41 UTC
Red Hat Product Errata RHBA-2024:4185 0 None None None 2024-07-01 07:13:03 UTC
Red Hat Product Errata RHBA-2024:4186 0 None None None 2024-07-01 07:23:38 UTC
Red Hat Product Errata RHBA-2024:4380 0 None None None 2024-07-08 14:49:38 UTC
Red Hat Product Errata RHBA-2024:4513 0 None None None 2024-07-11 14:28:50 UTC
Red Hat Product Errata RHSA-2024:4083 0 None None None 2024-06-25 08:24:27 UTC
Red Hat Product Errata RHSA-2024:4084 0 None None None 2024-06-25 08:18:43 UTC
Red Hat Product Errata RHSA-2024:4368 0 None None None 2024-07-08 11:21:57 UTC

Description Nick Tait 2024-05-14 23:39:32 UTC
The Git project recommends to avoid working in untrusted repositories, and instead to clone them first with git clone --no-local to obtain a clean copy. Git has specific protections to make that a safe operation even with an untrusted source repository, but vulnerabilities allow those protections to be bypassed.

In the context of cloning local repositories owned by other users, this vulnerability has been covered in CVE-2024-32004.

But there are circumstances where the fixes for CVE-2024-32004 are not enough: For example, when obtaining a .zip file containing a full copy of a Git repository, it should not be trusted by default to be safe, as e.g. hooks could be configured to run within the context of that repository.

Comment 1 Nick Tait 2024-05-14 23:40:12 UTC
Created git tracking bugs for this issue:

Affects: fedora-all [bug 2280450]


Created rubygem-dynect_rest tracking bugs for this issue:

Affects: epel-all [bug 2280447]


Created rubygem-rouge tracking bugs for this issue:

Affects: fedora-all [bug 2280448]


Created rubygem-stringex tracking bugs for this issue:

Affects: fedora-all [bug 2280451]


Created swiftlint tracking bugs for this issue:

Affects: fedora-all [bug 2280449]

Comment 2 Nick Tait 2024-05-14 23:40:51 UTC
Created git tracking bugs for this issue:

Affects: fedora-all [bug 2280456]


Created rubygem-dynect_rest tracking bugs for this issue:

Affects: epel-all [bug 2280453]


Created rubygem-rouge tracking bugs for this issue:

Affects: fedora-all [bug 2280454]


Created rubygem-stringex tracking bugs for this issue:

Affects: fedora-all [bug 2280457]


Created swiftlint tracking bugs for this issue:

Affects: fedora-all [bug 2280455]

Comment 6 errata-xmlrpc 2024-06-25 08:18:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 7 errata-xmlrpc 2024-06-25 08:24:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 9 errata-xmlrpc 2024-07-08 11:21:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

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


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