Skip to content

fix(deps): bump prometheus/client_golang + Go 1.26 [IS-21913]#64

Draft
ozan-koksal wants to merge 3 commits intodevelopfrom
fix-deps-cves
Draft

fix(deps): bump prometheus/client_golang + Go 1.26 [IS-21913]#64
ozan-koksal wants to merge 3 commits intodevelopfrom
fix-deps-cves

Conversation

@ozan-koksal
Copy link
Copy Markdown
Contributor

Summary

Fixes CVE-2022-21698 (GHSA-cg3q-j54f-5p7p) — Uncontrolled Resource Consumption in promhttp from github.com/prometheus/client_golang. The vulnerability allows unbounded cardinality (and a potential memory-exhaustion DoS) via HTTP requests with arbitrary methods. Fixed in v1.11.1+; this PR bumps to the latest stable v1.20.5.

It also bumps the Go directive in every sub-module to 1.26.0 for consistency with the project-wide toolchain upgrade.

Affected modules

  • insrequester — direct upgrade of github.com/prometheus/client_golang from v0.9.2 -> v1.20.5 (indirect dep) + Go 1.24.0 -> 1.26.0
  • inscacheable, inscodeerr, insdash, insgorm, inskinesis, inslogger, insredis, inssentry, inssimpleroute, inssql, inssqs, insssm — Go directive bump only (1.19/1.23.0 -> 1.26.0) + go mod tidy

insrequester is the only sub-module that references prometheus/client_golang (transitively via test deps); confirmed via go list -m all across every module.

Test plan

  • go build ./... passes for every modified sub-module
  • go test ./... passes for insrequester, inscacheable, insdash, inskinesis (the modules with tests)
  • Sub-modules with no tests build cleanly (inscodeerr, insgorm, inslogger, insredis, inssentry, inssimpleroute, inssql, insssm)
  • Note: inssqs has a pre-existing test deadlock on develop (reproducible without these changes) — not introduced by this PR; tracked separately
  • Verify CI passes

…S-21913]

Addresses CVE-2022-21698 (GHSA-cg3q-j54f-5p7p) — Uncontrolled Resource
Consumption in promhttp from prometheus/client_golang. The vulnerability
allows unbounded cardinality and a potential memory exhaustion attack via
HTTP requests with arbitrary methods. Fixed in v1.11.1+; bumped to the
latest stable v1.20.5 (transitively pulled in by insrequester).

Also bumps the Go directive to 1.26.0 across every sub-module for
consistency with the project-wide toolchain upgrade.
@ozan-koksal ozan-koksal self-assigned this Apr 18, 2026
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