Skip to content

Fix CVE 22868 and 22869#320

Merged
xuezhaojun merged 2 commits intostolostron:backplane-2.8from
xuezhaojun:fix-cve-22868-and-22869
Mar 24, 2025
Merged

Fix CVE 22868 and 22869#320
xuezhaojun merged 2 commits intostolostron:backplane-2.8from
xuezhaojun:fix-cve-22868-and-22869

Conversation

@xuezhaojun
Copy link
Copy Markdown

@xuezhaojun xuezhaojun commented Mar 24, 2025

Upgrade go version to go 1.23 to fix oauth CVE.

Signed-off-by: xuezhaojun <zxue@redhat.com>
Signed-off-by: xuezhaojun <zxue@redhat.com>
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 24, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xuezhaojun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@xuezhaojun xuezhaojun merged commit 6cba482 into stolostron:backplane-2.8 Mar 24, 2025
3 of 6 checks passed
@xuezhaojun xuezhaojun deleted the fix-cve-22868-and-22869 branch March 24, 2025 13:13
@xuezhaojun
Copy link
Copy Markdown
Author

/cherry-pick backplane-2.7

@openshift-cherrypick-robot
Copy link
Copy Markdown

@xuezhaojun: #320 failed to apply on top of branch "backplane-2.7":

Applying: Shift service-proxy url from ExternalName to hostalais. (#317)
Using index info to reconstruct a base tree...
M	go.mod
M	go.sum
M	pkg/userserver/user_server.go
M	vendor/golang.org/x/oauth2/internal/client_appengine.go
M	vendor/golang.org/x/oauth2/oauth2.go
A	vendor/golang.org/x/oauth2/pkce.go
M	vendor/golang.org/x/oauth2/token.go
M	vendor/google.golang.org/appengine/internal/api.go
M	vendor/google.golang.org/appengine/internal/api_classic.go
M	vendor/google.golang.org/appengine/internal/api_common.go
M	vendor/google.golang.org/appengine/internal/identity.go
M	vendor/google.golang.org/appengine/internal/identity_classic.go
M	vendor/google.golang.org/appengine/internal/identity_flex.go
M	vendor/google.golang.org/appengine/internal/identity_vm.go
M	vendor/google.golang.org/appengine/internal/main.go
M	vendor/google.golang.org/appengine/internal/main_vm.go
M	vendor/google.golang.org/appengine/internal/transaction.go
M	vendor/google.golang.org/appengine/urlfetch/urlfetch.go
M	vendor/modules.txt
Falling back to patching base and 3-way merge...
Auto-merging vendor/modules.txt
CONFLICT (content): Merge conflict in vendor/modules.txt
CONFLICT (modify/delete): vendor/google.golang.org/appengine/urlfetch/urlfetch.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/google.golang.org/appengine/urlfetch/urlfetch.go left in tree.
Removing vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto
Removing vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.pb.go
CONFLICT (modify/delete): vendor/google.golang.org/appengine/internal/transaction.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/google.golang.org/appengine/internal/transaction.go left in tree.
Removing vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto
Removing vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go
Removing vendor/google.golang.org/appengine/internal/regen.sh
Removing vendor/google.golang.org/appengine/internal/net.go
Removing vendor/google.golang.org/appengine/internal/metadata.go
CONFLICT (modify/delete): vendor/google.golang.org/appengine/internal/main_vm.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/google.golang.org/appengine/internal/main_vm.go left in tree.
Removing vendor/google.golang.org/appengine/internal/main_common.go
CONFLICT (modify/delete): vendor/google.golang.org/appengine/internal/main.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/google.golang.org/appengine/internal/main.go left in tree.
Removing vendor/google.golang.org/appengine/internal/log/log_service.proto
Removing vendor/google.golang.org/appengine/internal/log/log_service.pb.go
Removing vendor/google.golang.org/appengine/internal/internal.go
CONFLICT (modify/delete): vendor/google.golang.org/appengine/internal/identity_vm.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/google.golang.org/appengine/internal/identity_vm.go left in tree.
CONFLICT (modify/delete): vendor/google.golang.org/appengine/internal/identity_flex.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/google.golang.org/appengine/internal/identity_flex.go left in tree.
CONFLICT (modify/delete): vendor/google.golang.org/appengine/internal/identity_classic.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/google.golang.org/appengine/internal/identity_classic.go left in tree.
CONFLICT (modify/delete): vendor/google.golang.org/appengine/internal/identity.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/google.golang.org/appengine/internal/identity.go left in tree.
Removing vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto
Removing vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go
Removing vendor/google.golang.org/appengine/internal/base/api_base.proto
Removing vendor/google.golang.org/appengine/internal/base/api_base.pb.go
Removing vendor/google.golang.org/appengine/internal/app_id.go
CONFLICT (modify/delete): vendor/google.golang.org/appengine/internal/api_common.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/google.golang.org/appengine/internal/api_common.go left in tree.
CONFLICT (modify/delete): vendor/google.golang.org/appengine/internal/api_classic.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/google.golang.org/appengine/internal/api_classic.go left in tree.
CONFLICT (modify/delete): vendor/google.golang.org/appengine/internal/api.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/google.golang.org/appengine/internal/api.go left in tree.
Removing vendor/google.golang.org/appengine/LICENSE
Auto-merging vendor/golang.org/x/oauth2/token.go
CONFLICT (modify/delete): vendor/golang.org/x/oauth2/pkce.go deleted in HEAD and modified in Shift service-proxy url from ExternalName to hostalais. (#317). Version Shift service-proxy url from ExternalName to hostalais. (#317) of vendor/golang.org/x/oauth2/pkce.go left in tree.
Auto-merging vendor/golang.org/x/oauth2/oauth2.go
CONFLICT (modify/delete): vendor/golang.org/x/oauth2/internal/client_appengine.go deleted in Shift service-proxy url from ExternalName to hostalais. (#317) and modified in HEAD. Version HEAD of vendor/golang.org/x/oauth2/internal/client_appengine.go left in tree.
Auto-merging pkg/userserver/user_server.go
CONFLICT (content): Merge conflict in pkg/userserver/user_server.go
Auto-merging go.sum
CONFLICT (content): Merge conflict in go.sum
Auto-merging go.mod
CONFLICT (content): Merge conflict in go.mod
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0001 Shift service-proxy url from ExternalName to hostalais. (#317)

Details

In response to this:

/cherry-pick backplane-2.7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

xuezhaojun added a commit that referenced this pull request Mar 26, 2025
* Move `ioutil` to `os`. (#172)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Fix e2e fail. (#176)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Fix: customized addon ns. (#175)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Remove replace since the CVE is fixed. (#174)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Remove temp logic. (#173)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Upgrade go version to 1.22. (#177)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Red Hat Konflux update cluster-proxy-addon-mce-28 (#180)

Signed-off-by: red-hat-konflux <konflux@no-reply.konflux-ci.dev>

Co-authored-by: red-hat-konflux <konflux@no-reply.konflux-ci.dev>

* Ugrade go version in dockerfiles. (#190)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Upgrade base images and sperate build commands. (#191)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* 🌱 [main] update konflux files (#192)

* Formatting all tekton files

Signed-off-by: zhujian <jiazhu@redhat.com>

* Update konflux CEL from backplane-2.8 to main

Signed-off-by: zhujian <jiazhu@redhat.com>

* Create an OWNERS file for tekton files

Signed-off-by: zhujian <jiazhu@redhat.com>

---------

Signed-off-by: zhujian <jiazhu@redhat.com>

* No-op to rebuild for Prow update (#193)

Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>

* Update Konflux references (#195)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* Remove `--cipher-suites` in the chart for test. (#201)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* chore(deps): update konflux references (#202)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* Remove vendor dependencies. (#207)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* chore(deps): update konflux references to 9e33cbc (#208)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* Add "*.proxy" as HostNames in server certs of service-proxy. (#209)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* chore: upgrade golang.org/x/net to v0.34.0 and golang.org/x/crypto to v0.32.0 (#210)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Fix e2e: remove bundle version latest of clusteradm (#220)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Fix: change to use `main` tag of cluster-proxy in e2e test (#223)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Update ANP patch to fix CVE-2024-45337, CVE-2024-45338 (#215)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* chore(deps): update konflux references (#234)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* Update hostnames to "*.open-cluster-management.proxy" (#236)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* chore(deps): update konflux references (#238)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* chore(deps): update konflux references (#244)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* Enable hermetic builds (#237)

Signed-off-by: xuezhaojun <zxue@redhat.com>

* chore(deps): update konflux references (#247)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* chore(deps): update konflux references (#250)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* chore(deps): update konflux references (#259)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* chore(deps): update konflux references (#268)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* chore(deps): update konflux references (#302)

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>

* Shift service-proxy url from ExternalName to hostalais. (#317) (#319)

Upgrade go version to go 1.23 to fix oauth CVE.

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Fix CVE 22868 and 22869 (#320)

* Shift service-proxy url from ExternalName to hostalais. (#317)

Upgrade go version to go 1.23 to fix oauth CVE.

Signed-off-by: xuezhaojun <zxue@redhat.com>

* Upgrade ANP to fix cve issue. (#316)

Signed-off-by: xuezhaojun <zxue@redhat.com>

---------

Signed-off-by: xuezhaojun <zxue@redhat.com>

---------

Signed-off-by: xuezhaojun <zxue@redhat.com>
Signed-off-by: zhujian <jiazhu@redhat.com>
Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux <konflux@no-reply.konflux-ci.dev>
Co-authored-by: Jian Zhu <jiazhu@redhat.com>
Co-authored-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants