Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore(security): Updated dind image to 27-0-3#63725

Merged
shivasurya merged 4 commits into
mainfrom
shiva/dind-27-0-3-update
Jul 9, 2024
Merged

chore(security): Updated dind image to 27-0-3#63725
shivasurya merged 4 commits into
mainfrom
shiva/dind-27-0-3-update

Conversation

@shivasurya

@shivasurya shivasurya commented Jul 9, 2024

Copy link
Copy Markdown
Contributor

Patches CVE-2024-24790 by upgrading to 27-0-3 tag. However, the patched version has CVE-2024-24791 😟 and it doesnt have patch.

Test plan

Build and test image locally.

Instruction to build and test locally

  • Go to dev/oci_deps.bzl
  • Find the current tag example docker:26.1.3-dind
  • Go to docker registry and search for updated tag and grab one example: docker:27.0.3-dind
  • docker pull --platform linux/amd64 docker:27.0.3-dind
  • Add platforms = ["linux/amd64"], to the oci_pull for building and testing locally
  oci_pull(
        name = "upstream_dind_base",
        digest = "sha256:2632da0d24924b179adf1c2e6f4ea6fb866747e84baea6b2ffaa8bff982ce102",
        platforms = ["linux/amd64"],
    )
  • Run sg images build dind
  • For testing, run docker run --rm -it --entrypoint /bin/sh -v /var/run/docker.sock:/var/run/docker.sock dind:candidate
  • Test docker commands and pull and run image for testing

Changelog

@shivasurya shivasurya self-assigned this Jul 9, 2024
@cla-bot cla-bot Bot added the cla-signed label Jul 9, 2024
@shivasurya shivasurya requested a review from willdollman July 9, 2024 16:05
@shivasurya shivasurya changed the title Updated dind image to 27-0-3 chore(security): Updated dind image to 27-0-3 Jul 9, 2024
@willdollman

Copy link
Copy Markdown
Contributor

Hmmm, I remember previously looking at the platforms = ["linux/amd64"], tag with Noah and thinking we didn't need it. But looks like bazel in buildkite is complaining about it :/

@shivasurya shivasurya merged commit c3c706b into main Jul 9, 2024
@shivasurya shivasurya deleted the shiva/dind-27-0-3-update branch July 9, 2024 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants