Update module github.com/prometheus/client_golang to v1.11.1 [SECURITY] #83
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.10.0
->v1.11.1
GitHub Vulnerability Alerts
CVE-2022-21698
This is the Go client library for Prometheus. It has two separate parts, one for instrumenting application code, and one for creating clients that talk to the Prometheus HTTP API. client_golang is the instrumentation library for Go applications in Prometheus, and the promhttp package in client_golang provides tooling around HTTP servers and clients.
Impact
HTTP server susceptible to a Denial of Service through unbounded cardinality, and potential memory exhaustion, when handling requests with non-standard HTTP methods.
Affected Configuration
In order to be affected, an instrumented software must
promhttp.InstrumentHandler*
middleware exceptRequestsInFlight
.method
label name to our middleware.method
.Patches
Workarounds
If you cannot upgrade to v1.11.1 or above, in order to stop being affected you can:
method
label name from counter/gauge you use in the InstrumentHandler.For more information
If you have any questions or comments about this advisory:
prometheus-team@googlegroups.com
Release Notes
prometheus/client_golang (github.com/prometheus/client_golang)
v1.11.1
: 1.11.1 / 2022-02-15Compare Source
CVE-2022-21698
)What's Changed
Full Changelog: prometheus/client_golang@v1.11.0...v1.11.1
v1.11.0
: / 2021-06-07Compare Source
prometheus.NewExpvarCollector
is deprecated, usecollectors.NewExpvarCollector
instead. #862prometheus.NewGoCollector
is deprecated, usecollectors.NewGoCollector
instead. #862prometheus.NewBuildInfoCollector
is deprecated, usecollectors.NewBuildInfoCollector
instead. #862What's Changed
New Contributors
Full Changelog: prometheus/client_golang@v1.10.0...v1.11.0
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.