Skip to content

Commit 2e3da8e

Browse files
authored
chore(deps): Upgrade opentelemetry/http and k8s.io/apimachinery (#459)
Fix the following CVEs: - [CVE-2023-37788] github.com/elazarl/goproxy Denial of Service (DoS) - [CVE-2022-21698, CVE-2023-45142] Allocation of Resources Without Limits or Throttling ----- Signed-off-by: Spolti <[email protected]>
1 parent b4adcd8 commit 2e3da8e

File tree

2 files changed

+76
-23
lines changed

2 files changed

+76
-23
lines changed

go.mod

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,15 @@ require (
126126
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
127127
)
128128

129-
// Update Go Networking to avoid CVE-2023-44487 and CVE-2023-39325
130-
replace golang.org/x/net => golang.org/x/net v0.17.0
129+
replace (
130+
// Fixes CVE-2022-21698 and CVE-2023-45142
131+
// this dependency comes from k8s.io/[email protected] and k8s.io/[email protected]
132+
// before removing it make sure that the next version of the related k8s dependencies contains the fix
133+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp => go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.44.0
134+
// Update Go Networking to avoid CVE-2023-44487 and CVE-2023-39325
135+
golang.org/x/net => golang.org/x/net v0.17.0
136+
// remove when upgrade to controller-runtime 0.15.x or apimachinery to 0.27.x
137+
// Fixes github.com/elazarl/goproxy Denial of Service (DoS)
138+
// This dependency was removed from apimachinery 0.27.0
139+
k8s.io/apimachinery => k8s.io/apimachinery v0.27.0
140+
)

0 commit comments

Comments
 (0)