Skip to content

chore: update deps and CI to fix govulncheck failures - #47

Open
tembleking wants to merge 4 commits into
masterfrom
chore/update-deps-govulncheck
Open

chore: update deps and CI to fix govulncheck failures#47
tembleking wants to merge 4 commits into
masterfrom
chore/update-deps-govulncheck

Conversation

@tembleking

@tembleking tembleking commented Sep 2, 2026

Copy link
Copy Markdown
Member

govulncheck was failing check-vulns with 17 code-reachable CVEs across
the Go stdlib and x/net, x/mod, x/text. Bumps the Go toolchain to 1.27
and updates vendored deps to versions with fixes.

Fixed:

  • CVE-2026-56860 (stdlib): quadratic complexity in resolvePath
  • CVE-2026-56862 (stdlib): no limit on post-handshake messages
  • CVE-2026-56853 (stdlib): missing ReadHeaderTimeout on unencrypted HTTP/2 check
  • CVE-2026-33818 (stdlib): no recursion depth limit when decoding
  • CVE-2026-56852 (library: x/text): infinite loop on invalid input
  • CVE-2026-42505 (stdlib): privacy leak via Encrypted Client Hello
  • CVE-2026-42507 (stdlib): arbitrary inputs left unescaped in errors
  • CVE-2026-42504 (stdlib): quadratic complexity in header word decoding
  • CVE-2026-27145 (stdlib): inefficient candidate hostname parsing
  • CVE-2026-39821 (stdlib + library: x/net): fails to reject ASCII-only punycode labels
  • CVE-2026-39836 (stdlib): panic on NUL byte in Dial/LookupPort (Windows)
  • CVE-2026-32280 (stdlib): unnecessary work building cert chains
  • CVE-2026-32281 (stdlib): inefficient policy validation
  • CVE-2026-33814 (stdlib + library: x/net): infinite loop on bad HTTP/2 SETTINGS_MAX_FRAME_SIZE
  • CVE-2026-32283 (stdlib): DoS via unauthenticated TLS 1.3 KeyUpdate record
  • CVE-2026-32289 (stdlib): XSS via JS context-tracking bug
  • CVE-2026-25679 (stdlib): incorrect parsing of IPv6 host literals

Also adds a cli_scanner_version e2e matrix (newest/oldest supported)
so backward-compat coverage doesn't regress silently, and switches
pre-commit to prek.

Bumps Go toolchain to 1.27 and vendored deps (x/net, x/mod, x/text,
k8s.io/*) to clear stdlib and module CVEs flagged by check-vulns.
Also adds a cli_scanner_version e2e matrix (newest/oldest supported)
and switches pre-commit to prek.
@tembleking
tembleking force-pushed the chore/update-deps-govulncheck branch from 18a27c6 to 675aade Compare September 2, 2026 08:12
Pins actions/checkout, DeterminateSystems/nix-installer-action,
DeterminateSystems/magic-nix-cache-action, docker/login-action and
softprops/action-gh-release to their commit SHA to avoid supply-chain
tampering via mutable tags. Adds `pinact run -u` to `just update`
so new/bumped actions stay pinned.
mateobur
mateobur previously approved these changes Sep 2, 2026
The e2e job now runs as a matrix, so its checks report as
'e2e (cli-scanner <version>)' instead of a fixed name. The branch
protection ruleset requires a literal 'e2e-test' context, which never
gets reported again and stays pending forever.

Renames the matrix job to e2e-matrix and adds a lightweight e2e-test
job that needs: it and fails if any leg didn't succeed, so branch
protection has a stable target regardless of which versions the
matrix pins.
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.

2 participants