LOG-9379: Fix CVE-2026-33813 in golang.org/x/image#3266
LOG-9379: Fix CVE-2026-33813 in golang.org/x/image#3266vparfonov wants to merge 1 commit intoopenshift:release-6.5from
Conversation
|
@vparfonov: This pull request references LOG-9379 which is a valid jira issue. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
Review Summary by QodoFix CVE-2026-33813 and upgrade Go dependencies
WalkthroughsDescription• Update golang.org/x/image from v0.25.0 to v0.39.0 - Fixes CVE-2026-33813 DoS vulnerability in WEBP parsing - Affects 32-bit platforms • Upgrade Go version from 1.24 to 1.25.7 • Update multiple golang.org/x dependencies to latest versions - golang.org/x/net, golang.org/x/sync, golang.org/x/sys, golang.org/x/term, golang.org/x/text, golang.org/x/tools • Promote github.com/pelletier/go-toml from indirect to direct dependency Diagramflowchart LR
A["Go 1.24"] -->|"Upgrade to"| B["Go 1.25.7"]
C["golang.org/x/image v0.25.0"] -->|"Update to v0.39.0"| D["CVE-2026-33813 Fixed"]
E["Multiple x/ packages"] -->|"Update versions"| F["Latest stable versions"]
G["go-toml indirect"] -->|"Promote to"| H["go-toml direct dependency"]
B --> I["Dockerfile updated"]
File Changes1. Dockerfile
|
Code Review by Qodo
Context used 1. Patch in go directive
|
|
/hold |
Fix CVE-2026-33813 in golang.org/x/image by upgrading from v0.25.0 to v0.39.0 and Go from 1.24 to 1.25. This addresses a Denial of Service vulnerability via malformed WEBP image parsing on 32-bit platforms. Refactor Go versioning to follow best practices: - Split go.mod directive: go 1.25 (language version) + toolchain go1.25.7 (patch pinning) - Pin Dockerfile builder image to golang:1.25.7 (matching toolchain, not floating) This ensures consistent builds across local, dev, and release/ART environments. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| @@ -1,4 +1,4 @@ | |||
| FROM golang:1.24 AS builder | |||
| FROM golang:1.25.7 AS builder | |||
There was a problem hiding this comment.
Please verify we do not require a similar change to the Dockerfile.art
There was a problem hiding this comment.
Dockerfile.art alredy based on go 1.25.7
|
/approve |
|
This may also require changes to the CI in /release and ART. cc @xperimental |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcantrill, vparfonov The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
1 similar comment
|
/retest |
|
@vparfonov: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
Description
Update golang.org/x/image from v0.25.0 to v0.39.0 to fix CVE-2026-33813, which addresses a Denial of Service vulnerability via malformed WEBP image parsing on 32-bit platforms.
Also upgrades Go version to 1.25.7 and updates the Dockerfile to use golang:1.25 as the builder base image.
/cc @Clee2691 @cahartma
/assign @jcantrill
Links