-
Notifications
You must be signed in to change notification settings - Fork 45
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
Vulnerabilities in the image #486
Comments
It seems there are also some CVEs with severity
Output:
|
Studying the report further, I saw that the vulnerability problem is in other projects, including "pgbouncer_exporter" and "pgbackrest_exporter". So I forked the current repository and updated to the latest versions of these projects. So, when building the image, I noticed a considerable reduction in vulnerabilities. But there is still a "High" point in "pgbouncer_exporter", where I believe that if a more recent release were released it would solve the problem, I am trying to contact the repository maintainers. |
If the CVE is in the Go stdlib, is building the exporters from source in a dockerfile step using a recent version of the go toolchain an option? The official prometheus exporters can all be built with an ordinary Here's one example from a workshop I had with my team that uses a distroless base for the final image: https://github.com/saolof/container_image_workshop/blob/master/6_go_install_dockerfile/Dockerfile Edit: ah, reading the filed issue on the pgbouncer exporter repo, it looks like the issue is |
Hello everyone!
I recently had the need to scan the Docker images I use, using the Snyk tool, which is capable of identifying vulnerabilities.
So for timescaledb-ha it pointed out some versions of projects that are currently being used and have vulnerabilities. I believe the most important ones are the "High" ones, such as:
Affecting golang.org/x/net/http2 package, versions <0.23.0
Affecting golang.org/x/net/http2 package, versions <0.17.0
Affecting github.com/jackc/pgproto3/v2 package, versions <2.3.3
I would love to contribute, but I am also aware that switching versions may break some things. I have already done a fork the repository and am updating some versions of other projects that this image uses.
Any guidance on how this should be done would be greatly appreciated, I have also attached the full Snyk report.
report_snyk.txt
The text was updated successfully, but these errors were encountered: