Skip to content

chore(deps): bump x/net to 0.62.0 for the two html-parser advisories - #312

Merged
dvcdsys merged 1 commit into
developfrom
chore/xnet-0-62
Nov 3, 2026
Merged

dvcdsys merged 1 commit into
developfrom
chore/xnet-0-62

Conversation

@dvcdsys

@dvcdsys dvcdsys commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Clears the only actionable finding out of the 48 open code-scanning alerts.

golang.org/x/net v0.61.0 -> v0.62.0   (indirect)

v0.61.0 arrived with the weekly group bump (#300) and carries two advisories in x/net/html, both fixed in 0.62.0:

CVE-2026-78661 coalescing adjacent text nodes in addText/fosterParent
CVE-2026-97045 childTextNodesAreLiteral stops walking up the tree

Neither is reachable here — go list -deps ./... shows golang.org/x/net/html is not in the build graph at all, which is also why govulncheck reported 0 affected both before and after. Trivy flags the module version rather than the imported package, so the alerts were accurate as reported and worth clearing rather than dismissing: a one-line indirect bump is cheaper than two permanent exceptions, and the next person reading the alert list should not have to re-derive that the package is unused.

Verification

  • go build ./..., go vet ./..., go test ./... — all pass, 0 failures.
  • govulncheck — 0 affected.
  • trivy fs on server/go.mod — 3 findings → 1.

The one left behind, deliberately

GO-2026-5932 — golang.org/x/crypto/openpgp is unmaintained. Its only "fix" is the pseudo-version 0.58.1-0.20261009181718-2f1f834330b2, and trading a tagged release for an untagged commit is a worse deal than the finding itself. The openpgp package is likewise absent from both build graphs. It stays in server/go.mod and cli/go.mod as the single remaining UNKNOWN-severity note in each.

🤖 Generated with Claude Code

Clears the only actionable finding out of the 48 open code-scanning alerts.

    golang.org/x/net v0.61.0 -> v0.62.0  (indirect)

v0.61.0 arrived with the weekly group bump and carries two advisories in
`x/net/html`, both fixed in 0.62.0:

    CVE-2026-78661  coalescing adjacent text nodes in addText/fosterParent
    CVE-2026-97045  childTextNodesAreLiteral stops walking up the tree

Neither is reachable here: `go list -deps ./...` shows `golang.org/x/net/html`
is not in the build graph at all, which is also why `govulncheck` reported 0
affected both before and after. Trivy flags the module version rather than the
imported package, so the alerts were real as reported and are worth clearing
rather than dismissing -- a one-line indirect bump is cheaper than carrying two
permanent exceptions, and the next person reading the alert list should not have
to re-derive that the package is unused.

Verified: `go build ./...`, `go vet ./...` and `go test ./...` all pass (0
failures); `govulncheck` 0 affected; `trivy fs` on `server/go.mod` drops from 3
findings to 1.

That remaining one is GO-2026-5932 -- `golang.org/x/crypto/openpgp` is
unmaintained -- and it is deliberately left alone in both modules. Its only
"fix" is the pseudo-version 0.58.1-0.20261009181718-2f1f834330b2, and trading a
tagged release for an untagged commit is a worse trade than the finding: the
openpgp package is likewise absent from both build graphs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@dvcdsys
dvcdsys merged commit 07626cc into develop Nov 3, 2026
8 checks 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.

1 participant