False Positive in Terraform binary: CVE-2018-9057 #1377
Labels
bug
Something isn't working
changelog-ignore
Don't include this issue in the release changelog
false-positive:cpe
This issue is a report of a false positive cause by CPE matching
What happened:
Grype reported that the version of Terraform in my container image was vulnerable to CVE-2018-9057. This is an old vulnerability in the AWS provider that was fixed after v1.12.0 of the AWS provider. Grype sees Terraform v1.5.2 and since 1.5.2 is less than 1.12.0 it reports the vulnerability, but Terraform and the Terraform AWS Provider are 2 completely separate binaries.
Here's the line from the grype report:
What you expected to happen:
This vuln is not reported since my container image does not have the Terraform AWS Provider installed (just Terraform itself)
How to reproduce it (as minimally and precisely as possible):
Here's a Dockerfile that demonstrates the issue. I use ASDF to install Terraform in my use case, though I would imagine that any method of installing Terraform will still result in the vulnerability being reported.
Anything else we need to know?:
Environment:
grype version
:cat /etc/os-release
or similar):The text was updated successfully, but these errors were encountered: