Skip to content

[Medium] patch rust to fix CVE-2024-9681 #12165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
134 changes: 134 additions & 0 deletions SPECS/rust/CVE-2024-9681.patch

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions SPECS/rust/rust.spec
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Source7: https://static.rust-lang.org/dist/%{release_date}/rust-std-%{sta
Patch0: CVE-2023-45853.patch
Patch1: CVE-2024-32884.patch
Patch2: CVE-2024-31852.patch
Patch3: CVE-2024-9681.patch

BuildRequires: binutils
BuildRequires: cmake
Expand All @@ -62,6 +63,7 @@ BuildRequires: python3
%if 0%{?with_check}
BuildRequires: glibc-static >= 2.38-9%{?dist}
%endif

# rustc uses a C compiler to invoke the linker, and links to glibc in most cases
Requires: binutils
Requires: curl
Expand Down Expand Up @@ -172,6 +174,9 @@ rm %{buildroot}%{_bindir}/*.old
%{_mandir}/man1/*

%changelog
* Fri Mar 21 2025 Jyoti Kanase <[email protected]> - 1.75.0-13
- Fix CVE-2024-9681

* Thu Feb 27 2025 Chris Co <[email protected]> - 1.75.0-12
- Bump to rebuild with updated glibc

Expand Down
Loading