CVE-2018-9057: hashicorp terraform Insufficient Entropy in PRNG
Vulnerability summary
CVE-2018-9057 is a critical (CVSS 9.8) Insufficient Entropy in PRNG vulnerability in hashicorp terraform. EPSS estimates a 1.92% chance of exploitation in the next 30 days, higher than 80.5% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 27-03-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · GoEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.92%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.92% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- terraform-provider-awsAll versions (No fix recorded)
Github.com/hashicorp1 product
- terraform-provider-aws< 1.14.0
Hashicorp1 product
- terraform≤ 1.12.0
Wolfi1 product
- terraform-provider-awsAll versions (No fix recorded)
4 vendors · 4 products
References
7 links- github.com/terraform-providers/terraform-provider-aws/pull/3934X Refsource MISCIssue TrackingPatchThird Party AdvisoryFIXWEB