Closed kanchan-dhamane closed 4 months ago
The first two CVEs are reported against the terraform
binary which we don't compile, we just install the pre-compiled executable. I am investigating if we can install terraform
1.5.7 which is the latest pre-BSL version, but I don't know if that resolved the two CVEs.
The third CVE is resolved by the latest renovate PR that patches go-getter to 1.7.5.
What happened?
We ran Trivy and Twistlock Scans on upbound/provider-terraform:v0.16.0 and found a few vulnerabilities. Following are the critical and high level vulnerabilities we would like to be addressed.
Here is the full Trivy scan report attached. tf-provider-scan.txt
How can we reproduce it?
Run the trivy scan on image
What environment did it happen in?
Notes
We did primary investigation. It seems that the version of
golang.org/x/net
andgoogle.golang.org/grpc
is already high enough in go.mod which does not contain these vulnerabilities, but the image seems to contain these old versions.So one guess is the binaries are compiled with older versions.