Repository navigation
fix(deps): update golang.org/x/text to v0.39.0 for CVE-2026-56852 - #452
Merged
Merged
Conversation
CVE-2026-56852 (HIGH): a norm.Iter can enter an infinite loop on certain input, so code normalizing untrusted text can hang. Bumped in all three modules that pin it independently — the root module (v0.38.0) and both Lambda modules, dns-updater (v0.37.0) and ttl-reaper (v0.38.0). Fixing only the root module would have left the Trivy scan failing on the other two. The advisory was published after the last green run on main (2026-07-28), so this is newly-disclosed rather than a regression; it currently fails the Security workflow on every branch. Dependency-only change: no source touched, all three modules build, full check green.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This was referenced Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CVE-2026-56852 (HIGH) in
golang.org/x/text: anorm.Itercan enter an infinite loop on certain input, so code normalizing untrusted text can hang. Fixed in v0.39.0.Scope
Bumped in all three modules that pin
x/textindependently:go.mod(root)lambda/dns-updater/go.modlambda/ttl-reaper/go.modTrivy scans each module separately, so fixing only the root would have left the job failing on the other two.
Context
Not a regression from any in-flight work — the advisory was published after the last green Security run on
main(2026-07-28), and it currently fails the Trivy scan on every branch. Found because it blocked #451, which touches nogo.mod; splitting it out here keeps that PR's diff to its own subject.Verification
make checkgreen (fmt, vet, lint, tests).go mod tidyrun per module.