Bug 2263100

Summary: TRIAGE CVE-2024-24577 rust-libgit2-sys: libgit2: arbitrary code execution due to heap corruption in git_index_add [fedora-all]
Product: [Fedora] Fedora Reporter: Robb Gatica <rgatica>
Component: rust-libgit2-sysAssignee: Fabio Valentini <decathorpe>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 39CC: decathorpe, jistone, rust-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rust-libgit2-sys-0.16.2-1.fc40 rust-libgit2-sys-0.16.2-1.fc39 rust-libgit2-sys-0.16.2-1.fc38 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-14 00:15:40 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: 2263125    
Bug Blocks: 2263095    

Description Robb Gatica 2024-02-07 00:52:32 UTC
More information about this security flaw is available in the following bug:

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

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 Robb Gatica 2024-02-07 00:52:34 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=high

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=2263095,2263100

# 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 2 Fabio Valentini 2024-02-07 21:32:49 UTC
I'm planning to update the libgit2 and git2 crates ASAP (after the current infra outage, so probably tomorrow).

Comment 3 Fedora Update System 2024-02-14 00:04:35 UTC
FEDORA-2024-53685bdcb6 (rust-asyncgit-0.24.3-3.fc40, rust-bat-0.24.0-3.fc40, and 14 more) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-53685bdcb6

Comment 4 Fedora Update System 2024-02-14 00:05:03 UTC
FEDORA-2024-8ba389815f (rust-asyncgit-0.24.3-3.fc39, rust-bat-0.24.0-3.fc39, and 14 more) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8ba389815f

Comment 5 Fedora Update System 2024-02-14 00:05:32 UTC
FEDORA-2024-993d3a78dd (rust-asyncgit-0.24.3-3.fc38, rust-bat-0.24.0-3.fc38, and 14 more) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-993d3a78dd

Comment 6 Fedora Update System 2024-02-14 00:15:40 UTC
FEDORA-2024-53685bdcb6 (rust-asyncgit-0.24.3-3.fc40, rust-bat-0.24.0-3.fc40, and 14 more) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-02-14 02:11:47 UTC
FEDORA-2024-8ba389815f has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8ba389815f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8ba389815f

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

Comment 8 Fedora Update System 2024-02-14 02:25:53 UTC
FEDORA-2024-993d3a78dd has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-993d3a78dd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-993d3a78dd

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

Comment 9 Fedora Update System 2024-02-20 01:39:47 UTC
FEDORA-2024-8ba389815f (rust-asyncgit-0.24.3-3.fc39, rust-bat-0.24.0-3.fc39, and 14 more) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-02-22 02:22:59 UTC
FEDORA-2024-993d3a78dd (rust-asyncgit-0.24.3-3.fc38, rust-bat-0.24.0-3.fc38, and 14 more) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.