Skip to content

fix(deps): update golang.org/x/text to v0.39.0 for CVE-2026-56852 - #452

Merged
scttfrdmn merged 1 commit into
mainfrom
fix/cve-2026-56852-x-text
Jul 29, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
fix/cve-2026-56852-x-text

Conversation

@scttfrdmn

Copy link
Copy Markdown
Contributor

CVE-2026-56852 (HIGH) in golang.org/x/text: a norm.Iter can 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/text independently:

Module Was Now
go.mod (root) v0.38.0 v0.39.0
lambda/dns-updater/go.mod v0.37.0 v0.39.0
lambda/ttl-reaper/go.mod v0.38.0 v0.39.0

Trivy 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 no go.mod; splitting it out here keeps that PR's diff to its own subject.

Verification

  • All three modules build.
  • Full make check green (fmt, vet, lint, tests).
  • Dependency-only: no source files touched. go mod tidy run per module.

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

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttfrdmn
scttfrdmn merged commit a231479 into main Jul 29, 2026
7 checks passed
@scttfrdmn
scttfrdmn deleted the fix/cve-2026-56852-x-text branch July 29, 2026 17:09
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.

1 participant