Skip to content

fix: upgrade golang.org/x/net and golang.org/x/text to address CVE-2026-46600 and CVE-2026-56852#376

Merged
britaniar merged 1 commit into
mainfrom
copilot/address-cves-cve-2026-46600-cve-2026-56852
Jul 21, 2026
Merged

fix: upgrade golang.org/x/net and golang.org/x/text to address CVE-2026-46600 and CVE-2026-56852#376
britaniar merged 1 commit into
mainfrom
copilot/address-cves-cve-2026-46600-cve-2026-56852

Conversation

Copilot AI commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Bumps two golang.org/x dependencies to pull in upstream security fixes:

  • CVE-2026-46600 (golang.org/x/net): panic when parsing a malformed SVCB/HTTPS DNS resource record in dns/dnsmessage — DoS vector for anything doing DNS resolution.
  • CVE-2026-56852 (golang.org/x/text): reachable infinite loop in unicode/norm.Iter on crafted/invalid UTF-8 input — DoS vector for text normalization paths.

Dependency changes

Module Before After
golang.org/x/net v0.55.0 v0.56.0
golang.org/x/text v0.37.0 v0.39.0

Transitive golang.org/x/* packages (crypto, sync, sys, term, tools) were also updated as part of go mod tidy.

@michaelawyu michaelawyu 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 ;)

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.24%. Comparing base (2a87c0a) to head (efd2902).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #376      +/-   ##
==========================================
+ Coverage   67.06%   67.24%   +0.18%     
==========================================
  Files          33       33              
  Lines        3783     3783              
==========================================
+ Hits         2537     2544       +7     
+ Misses       1072     1067       -5     
+ Partials      174      172       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@britaniar
britaniar merged commit 7f35893 into main Jul 21, 2026
11 checks passed
@britaniar
britaniar deleted the copilot/address-cves-cve-2026-46600-cve-2026-56852 branch July 21, 2026 22:51
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