CVE-2018-9057 HashiCorp Terraform Amazon Web Services (AWS) uses an insecure PRNG

Critical 9.8 Published Updated

Weak password generation in Terraform AWS provider allows attackers to guess IAM login credentials and take over accounts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-9057?

CVE-2018-9057 is a critical vulnerability in n/a, published on 27 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

aws/resource_aws_iam_user_login_profile.go in the HashiCorp Terraform Amazon Web Services (AWS) provider through v1.12.0 has an inappropriate PRNG algorithm and seeding, which makes it easier for remote attackers to obtain access by leveraging an IAM account that was provisioned with a weak password.

Weakness: CWE-332

Which versions are affected by CVE-2018-9057?

2 open source packages ship an affected version, including github.com/hashicorp/terraform-provider-aws. It affects 1 product.

PackageAffectedFixed in
github.com/hashicorp/terraform-provider-aws GoAll versions1.14.0
github.com/hashicorp/terraform-provider-aws GoAll versions1.14.0

Products include Hashicorp Terraform.

How do I fix CVE-2018-9057?

Upgrade github.com/hashicorp/terraform-provider-aws to 1.14.0 or later.

Is CVE-2018-9057 being exploited?

There is no known exploitation of CVE-2018-9057 in the wild and no public exploit code.

Sources

Also known as GHSA-r48h-jr2j-9g78.

Is CVE-2018-9057 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free