Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update container image to latest version of alpine #286

Closed
tzerogithub opened this issue Jun 10, 2019 · 4 comments
Closed

Update container image to latest version of alpine #286

tzerogithub opened this issue Jun 10, 2019 · 4 comments
Assignees
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: cleanup An internal cleanup or hygiene concern.

Comments

@tzerogithub
Copy link

How do we go about getting the image updated for libraries with vulnerabilities?
busybox version 1.25.1-r2 --->fixed in 1.27.2-r11
libressl (used in libressl2.4-libssl, libressl2.4-libcrypto) --fixed in 2.6.5-r0

https://nvd.nist.gov/vuln/detail/CVE-2015-9261
https://nvd.nist.gov/vuln/detail/CVE-2018-12434
https://nvd.nist.gov/vuln/detail/CVE-2018-20679
https://nvd.nist.gov/vuln/detail/CVE-2019-5747

@kurtisvg kurtisvg added the type: cleanup An internal cleanup or hygiene concern. label Jun 12, 2019
@cmur2
Copy link

cmur2 commented Jul 24, 2019

Hi, piping in here because I just got aware the official gcr.io/cloudsql-docker/gce-proxy:1.14 Docker image is still based on Alpine 3.5 that is end of life since 2018-11-01.

It would be great if you could update and treat this with priority as even the official documentation at https://cloud.google.com/sql/docs/postgres/connect-docker advises to use this image (although the slightly outdated gcr.io/cloudsql-docker/gce-proxy:1.12 release...) and ends with:

Keeping the Proxy Docker image up to date

The Proxy Docker image is based on a specific version of the Cloud SQL Proxy. When a new version of the Cloud SQL Proxy becomes available, you should pull the new version of the Proxy Docker image to keep your environment up to date.

I would like to follow that recomendation.

@kurtisvg kurtisvg changed the title Update Request: Vulnerabilities 2 Libraries, 4 Vulnerabilities busybox version 1.25.1-r2 libressl (used in libressl2.4-libssl, libressl2.4-libcrypto) Update container image to latest version of alpine Jul 25, 2019
@kurtisvg kurtisvg self-assigned this Jul 25, 2019
@kurtisvg kurtisvg added the priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. label Jul 25, 2019
@kurtisvg
Copy link
Contributor

Steps to resolves:

  • Update the repo with the Dockerfile used to
    • Make sure that Dockerfile uses the latest alpine
  • Update release script to use Dockerfile from the repo
  • Perform next release (v1.15)

@kurtisvg
Copy link
Contributor

We opted to switch to distroless over alpine since it is more secure. However it should still address the problems flagged in this issue all the same.

I plan to do a release sometime next week, but if you need something now you can use the Dockerfile to build a local image.

@kurtisvg
Copy link
Contributor

Closing as this has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: cleanup An internal cleanup or hygiene concern.
Projects
None yet
Development

No branches or pull requests

3 participants