Terraform dependencies are not pinned, allowing a malicious actor to override the used components with malicious components without leaving a trace.
Override dependencies or component with malicious content.
Use mechanisms such as git-commits, or artifacts and hashes to verify the data integrity.
Anonymous attacker from Internet with write access to the provider releases.
⌚ 15 minutes.
Default score using CVSS 3.1. It may change depending on the context of the src.
Default score using CVSS 4.0. It may change depending on the context of the src.
All terraform dependencies are pinned
required_providers {
aws = {
source = "github.com/hashicorp/example"
version = "3.23.0"
}
}
There are unpinned terraform dependencies
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.23.0"
}
}
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.23.0"
}
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 2.20.0"
}
}
legit 2.20.0
for
malicious 2.20.0
without us noticing