Skip to content

chore(deps): bump x/crypto, clear an x/text DoS - #136

Draft
ecv wants to merge 1 commit into
mainfrom
chore/bump-x-crypto-0.55.0
Draft

chore(deps): bump x/crypto, clear an x/text DoS#136
ecv wants to merge 1 commit into
mainfrom
chore/bump-x-crypto-0.55.0

Conversation

@ecv

@ecv ecv commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

The DNS zone fetch path reaches a Unicode normalization routine that can spin forever on invalid input, so a malformed upstream response is enough to hang a reconcile, and moving the pinned crypto library forward carries the text library past that fix.

The crypto side is hygiene rather than exposure, since its SSH code enters only through the PowerDNS integration test harness and is absent from both shipped binaries.

The newest crypto release was deliberately not taken, because it raises the module's Go directive past what the release image builds with and the extra advisories it closes are unreachable here.

This supersedes the Dependabot bump that has been open since last November, whose advisories were already carried in transitively and closed as fixed months ago.

Test plan

  • Unit, controller, and webhook suites pass
  • Vulnerability scan no longer reports the reachable text advisory
  • Container image still builds on the currently pinned Go release
  • PowerDNS integration test passes where a Docker daemon is available

https://claude.ai/code/session_018tBsAgdCCzyooXjz2Dh9xp

Bumping the pinned SSH crypto library also carries the Unicode text
package forward, and that is where the real exposure was: the PowerDNS
client's zone fetch path reaches a normalization routine that loops
forever on invalid input, so a malformed upstream response is enough to
hang a reconcile. It is the only advisory the vulnerability scanner
reports as reachable from this module's own code.

The crypto bump itself is hygiene. Its SSH packages enter the module only
through the PowerDNS integration test harness and are absent from both
shipped binaries, though the pinned release is still listed as affected
by an advisory covering source-address restrictions that go unenforced
for non-public-key authentication callbacks.

v0.55.0 rather than the newest release: v0.56.0 raises the module's Go
directive to 1.26, which the release image does not yet build with, and
the two further advisories it closes are unreachable from the operator.

This supersedes the long-stale Dependabot bump to v0.45.0, whose two
advisories were already carried in transitively and closed as fixed.

Claude-Session: https://claude.ai/code/session_018tBsAgdCCzyooXjz2Dh9xp
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