Skip to content

[CP 219] fix(security): bump golang.org/x/net and dependencies for CVE fixes - #36

Merged
spraveenio merged 1 commit into
ROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.device-config-manager.219.rocm.device-config-manager.main
Jul 7, 2026
Merged

[CP 219] fix(security): bump golang.org/x/net and dependencies for CVE fixes#36
spraveenio merged 1 commit into
ROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.device-config-manager.219.rocm.device-config-manager.main

Conversation

@ci-penbot-01

Copy link
Copy Markdown
Contributor

cp of pensando/device-config-manager#219


Source PR Description (pensando/device-config-manager#219):

Summary

Bump golang.org/x/net v0.30.0 → v0.55.0 and transitive dependencies
(x/sys, x/text, x/term) to fix all HIGH CVEs and resolve the build
breakage from the Go 1.25.11 toolchain bump.

CVEs fixed (gobinary target)

CVE Title
CVE-2026-25681 x/net/html: Arbitrary code execution via XSS
CVE-2026-27136 x/net/html: XSS via HTML parsing bypass
CVE-2026-33814 x/net: HTTP/2 DoS via malformed SETTINGS frame
CVE-2026-39821 x/net/idna: Privilege escalation via Punycode
CVE-2026-42502 x/net/html: XSS via Render

Verification

Trivy re-scan after fixes: 0 HIGH/CRITICAL.

Test plan

  • Binary builds successfully inside builder container
  • Trivy scan shows 0 HIGH/CRITICAL

Cherrypick triggered by: ACP-Automation

…#219)

* fix(security): bump golang.org/x/net v0.30.0 → v0.55.0 for CVE fixes

Fixes build breakage from Go 1.25.11 + x/sys incompatibility and
resolves all HIGH CVEs in the gobinary:
- CVE-2026-25681, CVE-2026-27136 (x/net/html XSS)
- CVE-2026-33814 (HTTP/2 DoS)
- CVE-2026-39821 (x/net/idna privilege escalation)
- CVE-2026-42502 (x/net/html Render XSS)

Trivy re-scan: 0 HIGH/CRITICAL.

* fix: add missing vendor packages (x/net/internal/httpcommon, httpsfv)

(cherry picked from commit dee9636d41a593209aee504a95762139c37b2dbf)

@spraveenio spraveenio left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spraveenio
spraveenio merged commit f077de6 into ROCm:main Jul 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants