From ed08076b74334e7d18383c3e32fe617ffc7b8015 Mon Sep 17 00:00:00 2001 From: kezhenxu94 Date: Mon, 15 Aug 2022 22:26:53 +0800 Subject: [PATCH] Bump up prometheus client version to fix cve (#71) --- adapter/dist/LICENSE | 2 +- adapter/go.mod | 2 +- adapter/go.sum | 3 ++- operator/dist/LICENSE | 2 +- operator/go.mod | 2 +- operator/go.sum | 3 ++- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/adapter/dist/LICENSE b/adapter/dist/LICENSE index d3ce51d9..d302e0d5 100644 --- a/adapter/dist/LICENSE +++ b/adapter/dist/LICENSE @@ -85,7 +85,7 @@ Apache-2.0 licenses github.com/oklog/ulid v1.3.1 Apache-2.0 github.com/opentracing/opentracing-go v1.1.0 Apache-2.0 github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021 Apache-2.0 - github.com/prometheus/client_golang v1.11.0 Apache-2.0 + github.com/prometheus/client_golang v1.11.1 Apache-2.0 github.com/prometheus/client_model v0.2.0 Apache-2.0 github.com/prometheus/common v0.28.0 Apache-2.0 github.com/prometheus/procfs v0.6.0 Apache-2.0 diff --git a/adapter/go.mod b/adapter/go.mod index 3d8c46d7..7458f4b0 100644 --- a/adapter/go.mod +++ b/adapter/go.mod @@ -53,7 +53,7 @@ require ( github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/pkg/errors v0.9.1 // indirect - github.com/prometheus/client_golang v1.11.0 // indirect + github.com/prometheus/client_golang v1.11.1 // indirect github.com/prometheus/client_model v0.2.0 // indirect github.com/prometheus/common v0.28.0 // indirect github.com/prometheus/procfs v0.6.0 // indirect diff --git a/adapter/go.sum b/adapter/go.sum index 13542c3f..3fa69b1b 100644 --- a/adapter/go.sum +++ b/adapter/go.sum @@ -538,8 +538,9 @@ github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXP github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0 h1:HNkLOAEQMIDv/K+04rukrLx6ch7msSRwf3/SASFAGtQ= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.11.1 h1:+4eQaD7vAZ6DsfsxB15hbE0odUjGI5ARs9yskGu1v4s= +github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= diff --git a/operator/dist/LICENSE b/operator/dist/LICENSE index b853e793..c0bef69a 100644 --- a/operator/dist/LICENSE +++ b/operator/dist/LICENSE @@ -234,7 +234,7 @@ Apache-2.0 licenses github.com/oklog/ulid v1.3.1 Apache-2.0 github.com/opentracing/opentracing-go v1.1.0 Apache-2.0 github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021 Apache-2.0 - github.com/prometheus/client_golang v1.11.0 Apache-2.0 + github.com/prometheus/client_golang v1.11.1 Apache-2.0 github.com/prometheus/client_model v0.2.0 Apache-2.0 github.com/prometheus/common v0.26.0 Apache-2.0 github.com/prometheus/procfs v0.6.0 Apache-2.0 diff --git a/operator/go.mod b/operator/go.mod index e9a9fafb..df18081c 100644 --- a/operator/go.mod +++ b/operator/go.mod @@ -47,7 +47,7 @@ require ( github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.1 // indirect github.com/pkg/errors v0.9.1 // indirect - github.com/prometheus/client_golang v1.11.0 // indirect + github.com/prometheus/client_golang v1.11.1 // indirect github.com/prometheus/client_model v0.2.0 // indirect github.com/prometheus/common v0.26.0 // indirect github.com/prometheus/procfs v0.6.0 // indirect diff --git a/operator/go.sum b/operator/go.sum index d60075ad..1d351b62 100644 --- a/operator/go.sum +++ b/operator/go.sum @@ -347,8 +347,9 @@ github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXP github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0 h1:HNkLOAEQMIDv/K+04rukrLx6ch7msSRwf3/SASFAGtQ= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.11.1 h1:+4eQaD7vAZ6DsfsxB15hbE0odUjGI5ARs9yskGu1v4s= +github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=