-
Notifications
You must be signed in to change notification settings - Fork 565
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
Upgrade golang/x/net for CVE-2023-39325 and CVE-2023-44487 #12125
base: fasttrack/3.0
Are you sure you want to change the base?
Changes from 4 commits
5c5323c
5b622f0
e87be71
e7c3033
5918f96
95abadb
c2499bc
fe6c45c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -2,7 +2,7 @@ | |||||
Summary: Application Gateway Ingress Controller | ||||||
Name: application-gateway-kubernetes-ingress | ||||||
Version: 1.7.2 | ||||||
Release: 3%{?dist} | ||||||
Release: 4%{?dist} | ||||||
License: MIT | ||||||
Vendor: Microsoft Corporation | ||||||
Distribution: Azure Linux | ||||||
|
@@ -20,12 +20,10 @@ Source0: https://github.com/Azure/application-gateway-kubernetes-ingress/ | |||||
# --mtime="2021-04-26 00:00Z" \ | ||||||
# --owner=0 --group=0 --numeric-owner \ | ||||||
# --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime \ | ||||||
# -cf %%{name}-%%{version}-vendor.tar.gz vendor | ||||||
# -cf %%{name}-%%{version}-%%{release}-vendor.tar.gz vendor | ||||||
# | ||||||
Source1: %{name}-%{version}-vendor.tar.gz | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
This should be changed to match the new format of |
||||||
Patch0: CVE-2022-21698.patch | ||||||
Patch1: CVE-2022-41273.patch | ||||||
Patch2: CVE-2024-45338.patch | ||||||
|
||||||
BuildRequires: golang >= 1.13 | ||||||
|
||||||
|
@@ -39,8 +37,6 @@ to act as the ingress for an AKS cluster. | |||||
rm -rf vendor | ||||||
tar -xf %{SOURCE1} --no-same-owner | ||||||
%patch 0 -p1 -d vendor/github.com/prometheus/client_golang | ||||||
%patch 1 -p1 -d vendor/golang.org/x/net | ||||||
%patch 2 -p1 | ||||||
|
||||||
%build | ||||||
export VERSION=%{version} | ||||||
|
@@ -59,6 +55,10 @@ cp appgw-ingress %{buildroot}%{_bindir}/ | |||||
%{_bindir}/appgw-ingress | ||||||
|
||||||
%changelog | ||||||
* Tue Jan 28 2025 Gary Swalling <gaswal@@microsoft.com> - 1.7.2-4 | ||||||
- Update golang.org/x/net to 0.34.0 for CVE-2023-39325, CVE-2023-44487 | ||||||
- Removed golang.org/x/net patches which are no longer needed | ||||||
|
||||||
* Tue Dec 31 2024 Rohit Rawat <[email protected]> - 1.7.2-3 | ||||||
- Add patch for CVE-2024-45338 | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the script, this set of steps isn't necessary anymore. If you do wish to keep it, though,
-cf
should be-czf
.