Skip to content

Commit 3d99310

Browse files
DISTMYSQL-430: Vulnerabilities fixes
https://perconadev.atlassian.net/browse/DISTMYSQL-430 1. Orchestrator used go-sqlite3 that's affected by CVE-2023-7104 2. Updated go version to 1.22.5 3. https://pkg.go.dev/vuln/GO-2024-2963 4. https://pkg.go.dev/vuln/GO-2024-2887
1 parent 181f94a commit 3d99310

File tree

530 files changed

+64966
-29977
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

530 files changed

+64966
-29977
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# ORC_USER (default: orc_server_user): username used to login to orchestrator backend MySQL server
1515
# ORC_PASSWORD (default: orc_server_password): password used to login to orchestrator backend MySQL server
1616

17-
FROM golang:1.22.3-alpine3.20 as build
17+
FROM golang:1.22.5-alpine3.20 as build
1818

1919
ENV GOPATH=/tmp/go
2020

docker/Dockerfile.packaging

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# ORC_USER (default: orc_server_user): username used to login to orchestrator backend MySQL server
1515
# ORC_PASSWORD (default: orc_server_password): password used to login to orchestrator backend MySQL server
1616

17-
FROM golang:1.22.3-bullseye
17+
FROM golang:1.22.5-bullseye
1818

1919
RUN apt-get update
2020
RUN apt-get install -y ruby ruby-dev rubygems build-essential

docker/Dockerfile.raft

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.3-bullseye
1+
FROM golang:1.22.5-bullseye
22
LABEL maintainer="[email protected]"
33

44
RUN apt-get update -q -y

docker/Dockerfile.system

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.3-bullseye
1+
FROM golang:1.22.5-bullseye
22
LABEL maintainer="[email protected]"
33

44
ARG ci_env_repo="https://github.com/percona/orchestrator-ci-env.git"

docker/Dockerfile.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.3-bullseye
1+
FROM golang:1.22.5-bullseye
22
LABEL maintainer="[email protected]"
33

44
RUN apt-get update

go.mod

Lines changed: 36 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,54 @@
11
module github.com/openark/orchestrator
22

3-
go 1.16
3+
go 1.22.5
44

55
require (
6-
github.com/Showmax/go-fqdn v1.0.0 // indirect
6+
github.com/Showmax/go-fqdn v1.0.0
77
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6
8-
github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0 // indirect
98
github.com/cyberdelia/go-metrics-graphite v0.0.0-20161219230853-39f87cc3b432
10-
github.com/fatih/color v1.10.0 // indirect
119
github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab
12-
github.com/go-sql-driver/mysql v1.7.1
13-
github.com/google/btree v1.0.0 // indirect
14-
github.com/hashicorp/consul/api v1.7.0
15-
github.com/hashicorp/go-cleanhttp v0.5.2-0.20190406162018-d3fcbee8e181 // indirect
16-
github.com/hashicorp/go-hclog v0.15.1-0.20201116205511-59fbd7b93270 // indirect
17-
github.com/hashicorp/go-immutable-radix v1.3.0 // indirect
18-
github.com/hashicorp/go-rootcerts v1.0.3-0.20191216101743-c8a9a31cbd76 // indirect
19-
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
20-
github.com/hashicorp/go-uuid v1.0.2 // indirect
21-
github.com/hashicorp/golang-lru v0.5.4 // indirect
22-
github.com/hashicorp/raft v0.0.0-00010101000000-000000000000
23-
github.com/hashicorp/serf v0.9.5 // indirect
24-
github.com/howeyc/gopass v0.0.0-20190910152052-7cb4b85ec19c
10+
github.com/go-sql-driver/mysql v1.8.1
11+
github.com/hashicorp/consul/api v1.29.2
12+
github.com/hashicorp/raft v1.7.0
13+
github.com/howeyc/gopass v0.0.0-20210920133722-c8aef6fb66ef
2514
github.com/martini-contrib/auth v0.0.0-20150219114609-fa62c19b7ae8
2615
github.com/martini-contrib/gzip v0.0.0-20151124214156-6c035326b43f
2716
github.com/martini-contrib/render v0.0.0-20150707142108-ec18f8345a11
28-
github.com/mattn/go-isatty v0.0.13-0.20200128103942-cb30d6282491 // indirect
29-
github.com/mattn/go-sqlite3 v1.14.7
30-
github.com/miekg/dns v1.1.31 // indirect
31-
github.com/mitchellh/go-testing-interface v1.14.0 // indirect
32-
github.com/mitchellh/mapstructure v1.3.3 // indirect
33-
github.com/montanaflynn/stats v0.0.0-20161102194025-f8cd06f93c6c
34-
github.com/openark/golib v0.0.0-20210520103621-827f3ea62180
35-
github.com/outbrain/golib v0.0.0-20200503083229-2531e5dbcc71 // indirect
17+
github.com/mattn/go-sqlite3 v1.14.22
18+
github.com/montanaflynn/stats v0.7.1
19+
github.com/openark/golib v0.0.0-20210531070646-355f37940af8
3620
github.com/outbrain/zookeepercli v1.0.12
37-
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
3821
github.com/patrickmn/go-cache v2.1.0+incompatible
3922
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475
4023
github.com/samuel/go-zookeeper v0.0.0-20201211165307-7117e9ea2414
41-
github.com/sjmudd/stopwatch v0.0.0-20170103085848-637ef30077b7
42-
github.com/stretchr/testify v1.6.1 // indirect
43-
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
44-
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
24+
github.com/sjmudd/stopwatch v0.1.1
4525
gopkg.in/gcfg.v1 v1.2.3
26+
)
27+
28+
require (
29+
filippo.io/edwards25519 v1.1.0 // indirect
30+
github.com/armon/go-metrics v0.4.1 // indirect
31+
github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0 // indirect
32+
github.com/fatih/color v1.17.0 // indirect
33+
github.com/hashicorp/errwrap v1.1.0 // indirect
34+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
35+
github.com/hashicorp/go-hclog v1.6.3 // indirect
36+
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
37+
github.com/hashicorp/go-msgpack v0.5.5 // indirect
38+
github.com/hashicorp/go-multierror v1.1.1 // indirect
39+
github.com/hashicorp/go-rootcerts v1.0.3-0.20191216101743-c8a9a31cbd76 // indirect
40+
github.com/hashicorp/golang-lru v1.0.2 // indirect
41+
github.com/hashicorp/serf v0.10.1 // indirect
42+
github.com/mattn/go-colorable v0.1.13 // indirect
43+
github.com/mattn/go-isatty v0.0.20 // indirect
44+
github.com/mitchellh/go-homedir v1.1.0 // indirect
45+
github.com/mitchellh/mapstructure v1.5.0 // indirect
46+
github.com/outbrain/golib v0.0.0-20200503083229-2531e5dbcc71 // indirect
47+
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
48+
golang.org/x/crypto v0.25.0 // indirect
49+
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
50+
golang.org/x/sys v0.22.0 // indirect
51+
golang.org/x/term v0.22.0 // indirect
4652
gopkg.in/warnings.v0 v0.1.2 // indirect
4753
)
4854

0 commit comments

Comments
 (0)