calico
calico copied to clipboard
influxdb vulnerabilities in calicoctl
Expected Behavior
Vulnerability free calicoctl
Current Behavior
Calicoctl uses influxdb github.com/influxdata/influxdb v0.0.0-20190102202943-dd481f35df2c which has several security vulnerabilities:
- PRISMA-2021-0108 - medium severity - fixed in v0.9.5 - influxdb package versions before v1.9.4 are vulnerable to Sensitive Data Exposure. SHOW CONTINUOUS QUERIES did not require any permissions in order to see the continuous queries in a database.
- CVE-2018-17572 - medium severity - fixed in 1.17.1, 1.16.8 - InfluxDB 0.9.5 has Reflected XSS in the Write Data module.
Possible Solution
Moved influxdb dependency to influxdb > = 1.17.1
Steps to Reproduce (for bugs)
Run Twistlock vulnerability scan on an image with calicoctl
Context
Although these vulnerabilities might not be exploitable in calicoctl the vulnerabilities show up when images containing calicoctl are scanned. This causes problems when customer demand all CVE's to be addressed.
Your Environment
- Calico version 3.21.2
- Orchestrator version: kubernetes
- Operating System and version: ubuntu:20.04