fix(deps): update module github.com/prometheus/client_golang to v1 [security] - autoclosed #102
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:
v0.9.1
->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
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
v1.10.0
: 1.10.0 / 2021-03-18Compare Source
LabelNames
andLabesValues
. #828What's Changed
New Contributors
Full Changelog: prometheus/client_golang@v1.9.0...v1.10.0
v1.9.0
: 1.9.0 / 2020-12-17Compare Source
NewPidFileFn
helper to create process collectors for processes whose PID is read from a file. #804InstrumentHandler...
middlewares with invalid metric or label names. #823What's Changed
New Contributors
Full Changelog: prometheus/client_golang@v1.8.0...v1.9.0
v1.8.0
: 1.8.0 / 2020-10-15Compare Source
time.Time
rather thanstring
for timestamps inRuntimeinfoResult
. #777MetricVec
to facilitate implementation of vectors of customMetric
types. #803/status/tsdb
endpoint. #773Metric
references after reslicing to free up more memory. #784What's Changed
New Contributors
Full Changelog: prometheus/client_golang@v1.7.1...v1.8.0
v1.7.1
: 1.7.1 / 2020-06-23Compare Source
LabelNames
andLabelValues
. #771v1.7.0
: 1.7.0 / 2020-06-17Compare Source
LabelNames
andLabelValues
. #767GatherAndCount
and enable filtering inCollectAndCount
#753status
andruntimeinfo
endpoints. #755nil
with aWrapRegistererWith...
function creates a no-opRegisterer
. #764v1.6.0
: 1.6.0 / 2020-04-28Compare Source
promlint
to expose the linter engine for external usage. #739 #743process_resident_memory_bytes
on 32bit MS Windows. #734v1.5.1
: 1.5.1 / 2020-03-14Compare Source
WriteHeader
call.v1.5.0
: 1.5.0 / 2020-03-03Compare Source
NewUntypedFunc
. #713v1.4.1
: 1.4.1 / 2020-02-07Compare Source
CounterVec
. #710v1.4.0
: 1.4.0 / 2020-01-27Compare Source
go_gc_duration_seconds
. #702promhttp.HandlerOpts
. EXPERIMENTAL #706testutil.CollectAndCount
. #703v1.3.0
: 1.3.0 / 2019-12-21Compare Source
v1.2.1
: 1.2.1 / 2019-10-17Compare Source
1.2.1 / 2019-10-17
Registerer.Unregister
. #663v1.2.0
: 1.2.0 / 2019-10-15Compare Source
AlreadyRegisteredError
less likely to occur. #657v1.1.0
: 1.1.0 / 2019-08-01Compare Source
LabelValues
andLabelNames
calls. #609v1.0.0
: 1.0.0 / 2019-06-15This release removes all previously deprecated features, resulting in the breaking changes listed below. As this is v1.0.0, semantic versioning applies from now on, with the exception of the API client and parts marked explicitly as experimental.
Summary
. (Objectives have to be set explicitly in theSummaryOpts
.) #600prometheus
package. (Use thepromhttp
package instead.) #600push.FromGatherer
,push.AddFromGatherer
,push.Collectors
. (Usepush.New
instead.) #600Series
call. #603/labels
call. #604AlreadyRegisteredError
usable for wrapped registries. #607v0.9.4
: 0.9.4 / 2019-06-07Compare Source
v0.9.3
: 0.9.3 / 2019-05-16Compare Source
returning results from the previous collection in case of a timeout. #568
http.Client
, facilitating mocking and custom HTTP client implementation.#559
objectives. #536
InstrumentRoundTripperTrace
now takes into account a pre-set context. #582TestCounterAddLarge
now works on all platforms. #567promhttp
examples. #535 #544body. #532
v0.9.2
: 0.9.2 / 2018-12-06Compare Source
Timer.ObserveDuration
returns observed duration. #509Configuration
📅 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 Mend Renovate. View repository job log here.