Skip to content

Commit

Permalink
Merge pull request opendatahub-io#254 from spolti/cve
Browse files Browse the repository at this point in the history
vulnerabilities fixes
  • Loading branch information
openshift-merge-bot[bot] authored Nov 24, 2023
2 parents 2bc3e37 + 86a3064 commit ec13e8d
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 23 deletions.
14 changes: 12 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,15 @@ require (
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
)

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

0 comments on commit ec13e8d

Please sign in to comment.