Skip to content

Commit

Permalink
security: fix CVE-2018-25032 and update to debian-base:bullseye-v1.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <[email protected]>
  • Loading branch information
aramase committed Apr 4, 2022
1 parent 2beb3ec commit f4b9d0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ E2E_PROVIDER_IMAGE_NAME ?= e2e-provider
# Release version is the current supported release for the driver
# Update this version when the helm chart is being updated for release
RELEASE_VERSION := v1.1.2
IMAGE_VERSION ?= v1.1.2
IMAGE_VERSION ?= v1.1.2.0

# Use a custom version for E2E tests if we are testing in CI
ifdef CI
Expand Down
12 changes: 3 additions & 9 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG BASEIMAGE=k8s.gcr.io/build-image/debian-base:bullseye-v1.1.0
ARG BASEIMAGE=k8s.gcr.io/build-image/debian-base:bullseye-v1.2.0

FROM golang:1.18 as builder
WORKDIR /go/src/sigs.k8s.io/secrets-store-csi-driver
Expand All @@ -28,14 +28,8 @@ RUN export GOOS=$TARGETOS && \

FROM $BASEIMAGE
COPY --from=builder /go/src/sigs.k8s.io/secrets-store-csi-driver/_output/secrets-store-csi /secrets-store-csi
# upgrading libgmp10 due to CVE-2021-43618
# upgrading bsdutils due to CVE-2021-3995 and CVE-2021-3996
# upgrading libssl1.1 due to CVE-2022-0778 and CVE-2021-4160
# upgrading libc-bin due to CVE-2021-33574, CVE-2022-23218, CVE-2022-23219 and CVE-2021-43396
# upgrading libc6 due to CVE-2021-33574, CVE-2022-23218, CVE-2022-23219 and CVE-2021-43396
# upgrading libsystemd0 due to CVE-2021-3997
# upgrading libudev1 due to CVE-2021-3997
RUN clean-install ca-certificates mount libgmp10 bsdutils libssl1.1 libc-bin libc6 libsystemd0 libudev1
# upgrading zlib1g due to CVE-2018-25032
RUN clean-install ca-certificates mount zlib1g

LABEL maintainers="ritazh"
LABEL description="Secrets Store CSI Driver"
Expand Down
2 changes: 1 addition & 1 deletion docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
REGISTRY?=docker.io/deislabs
IMAGE_NAME=driver
CRD_IMAGE_NAME=driver-crds
IMAGE_VERSION?=v1.1.2
IMAGE_VERSION?=v1.1.2.0
BUILD_TIMESTAMP := $(shell date +%Y-%m-%d-%H:%M)
BUILD_COMMIT := $(shell git rev-parse --short HEAD)
IMAGE_TAG=$(REGISTRY)/$(IMAGE_NAME):$(IMAGE_VERSION)
Expand Down

0 comments on commit f4b9d0f

Please sign in to comment.