influxdata / influxdb

Scalable datastore for metrics, events, and real-time analytics
https://influxdata.com
Apache License 2.0
28.19k stars 3.51k forks source link

Reporting vulnerability in influxdb:1.8.10-alpine #25027

Closed anshulgangrade closed 4 weeks ago

anshulgangrade commented 1 month ago

Name and Version influxdb:1.8.10-alpine

What steps will reproduce the bug? Posting it here as i could not report the security vulnerability as an issue due to the policy.

We are running trivy scan to find out vulnerabilities in influxdb container. We see that alpine have low severity for 2 packages but there are many CVE's reported on golang librariesas below. Please suggest how to fix it?

trivy image --format template --template "@contrib/html.tpl" -o influxdb-alpine_report.html influxdb:1.8.10-alpine --ignore-unfixed

image

What is the expected behavior? $ trivy image influxdb:1.8.10-alpine --ignore-unfixed Attached is the pdf report. Expected behavior is to have 0 vulnerability. influxdb_1.8.10-alpine.pdf

Additional information how to remediate the CVEs reported

jdstrand commented 4 weeks ago

Thank you for your report.

We are running trivy scan to find out vulnerabilities in influxdb container. We see that alpine have low severity for 2 packages but there are many CVE's reported on golang libraries as below.

I have locally generated and looked at the trivy report and while it's true that it lists a number of issues, keep in mind:

All that said, there are a few open golang stdlib issues. While InfluxDB 1.8 OSS is still supported, it is in deep maintenance and currently receives updates for serious security issues and none of the open issues are serious within the context of the influxd binary. InfluxData closely follows security alerts across its product line (including InfluxDB 1.8 OSS) and if/when a serious issue comes up that affects 1.8, we'll release a new InfluxDB 1.8.11 OSS version built with an up to date golang compiler and/or release a new container build.

anshulgangrade commented 3 weeks ago

@jdstrand Thanks for the comments. However, our cybersecurity assessment on vulnerabilities scans fails and we cannot deploy this in our cluster. Can we have a new release for influxdb with the updated libraries?
Appreciate your help with this :)