Skip to content

chore(deps): bump fiber, pgx and go-pkgz/auth to fixed versions - #1060

Merged
javi11 merged 1 commit into
kipsilabs:mainfrom
firestaerter3:chore/bump-vulnerable-modules
Nov 11, 2026
Merged

javi11 merged 1 commit into
kipsilabs:mainfrom
firestaerter3:chore/bump-vulnerable-modules

Conversation

@firestaerter3

Copy link
Copy Markdown
Contributor

Bumps three direct dependencies that have published advisories, each to the lowest version that clears all of them. Trivy flagged these as CRITICAL in our image, and I re-checked against OSV and govulncheck on current main.

Module From To Advisories
github.com/gofiber/fiber/v2 v2.52.9 v2.52.14 GO-2026-4543 / CVE-2026-25882 (route parameter overflow DoS), GO-2026-4471 / CVE-2025-66630, GO-2026-5585 / CVE-2026-42554, GO-2026-5887 / CVE-2026-45045
github.com/jackc/pgx/v5 v5.8.0 v5.9.2 GO-2026-5004 / CVE-2026-41889 (placeholder confusion with dollar-quoted literals), GO-2026-4771 / CVE-2026-33815, GO-2026-4772 / CVE-2026-33816
github.com/go-pkgz/auth/v2 v2.0.0 v2.1.2 GO-2026-5348 / CVE-2026-42560

govulncheck on current main reports GO-2026-4543 as reachable through App.All/App.Get, and GO-2026-5004 through sql.Tx.Commit on the Postgres path. The auth advisory is about the Patreon provider, which altmount doesn't use, but the package is still flagged. After the bump, govulncheck no longer reports any of the three modules.

The rest of the go.mod diff is forced by go-pkgz/auth v2.1.2 through minimal version selection. go get of the fiber or pgx bump alone changes nothing else; go get of auth v2.1.2 alone produces exactly this set (x/crypto, x/net, x/text, x/image, x/oauth2, klauspost/compress, golang-jwt, mongo-driver, bbolt and a few smaller ones), each at the minimum version auth v2.1.2 or its dependencies declare. go mod tidy only drops the now unused go-pkgz/repeater v1. There are no code changes.

Tested with go build ./..., then go test and go vet on every package that imports these modules (internal/database, internal/webdav, internal/api, cmd/altmount/cmd). We have run an earlier version of this bump (fiber 2.52.11, pgx 5.9.0, auth 2.1.2) since 2026-10-31. The versions here are newer because of advisories published since then.

govulncheck still reports reachable findings in x/net, x/text, klauspost/compress, brotli and the Go 1.27.0 standard library (fixed in 1.27.2/1.27.3). I left those out to keep this PR to the three modules. Happy to add them, here or in a separate PR.

Lowest versions that clear every published advisory for each module:

- github.com/gofiber/fiber/v2 v2.52.9 -> v2.52.14
  GO-2026-4543 / CVE-2026-25882 (route parameter overflow DoS, reachable
  via App.All and App.Get), plus GO-2026-4471 / CVE-2025-66630,
  GO-2026-5585 / CVE-2026-42554 and GO-2026-5887 / CVE-2026-45045.
- github.com/jackc/pgx/v5 v5.8.0 -> v5.9.2
  GO-2026-5004 / CVE-2026-41889 (placeholder confusion with dollar-quoted
  literals, reachable via sql.Tx.Commit), plus GO-2026-4771 /
  CVE-2026-33815 and GO-2026-4772 / CVE-2026-33816.
- github.com/go-pkgz/auth/v2 v2.0.0 -> v2.1.2
  GO-2026-5348 / CVE-2026-42560 (Patreon provider; altmount does not use
  that provider, but the module is flagged).

The other go.mod changes are all forced by go-pkgz/auth v2.1.2 through
minimal version selection: go get of fiber v2.52.14 or pgx v5.9.2 alone
changes nothing else, while go get of auth v2.1.2 alone produces exactly
this set (x/crypto, x/net, x/text, x/image, x/oauth2, klauspost/compress,
golang-jwt, mongo-driver, bbolt and a few smaller ones). These are the
minimum versions auth v2.1.2 and its own dependencies declare; nothing is
raised past that. go mod tidy only drops the unused go-pkgz/repeater v1.
No code changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@javi11
javi11 merged commit d20df7e into kipsilabs:main Nov 11, 2026
2 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.

2 participants