CVE-2018-9057
CVE-2018-9057 is a critical-severity vulnerability in Hashicorp Terraform with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-332.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 5.0
- EPSS exploit prediction: 2% (79th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-332
- Affected product: Hashicorp Terraform
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2018-9057?
- 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.
- How severe is CVE-2018-9057?
- CVE-2018-9057 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2018-9057 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (79th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-9057?
- CVE-2018-9057 affects Hashicorp Terraform. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-9057?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2018-9057 published?
- CVE-2018-9057 was published on 2018-03-27 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:hashicorp:terraform:*:*:*:*:*:aws:*:*
More vulnerabilities in Hashicorp Terraform
- CVE-2021-36230 — High (CVSS 8.8): HashiCorp Terraform Enterprise releases up to v202106-1 did not properly perform authorization checks on a subset of…
- CVE-2019-19316 — High (CVSS 7.5): When using the Azure backend with a shared access signature (SAS), Terraform versions prior to 0.12.17 may transmit the…
- CVE-2023-4782 — Medium (CVSS 6.3): Terraform version 1.0.8 through 1.5.6 allows arbitrary file write during the `init` operation if run on maliciously…
- CVE-2025-13432 — Medium (CVSS 4.3): Terraform state versions can be created by a user with specific but insufficient permissions in a Terraform Enterprise…
All CVEs affecting Hashicorp Terraform →
Other CWE-332 vulnerabilities
- CVE-2016-10743 — High (CVSS 7.5): hostapd before 2.6 does not prevent use of the low-quality PRNG that is reached by an os_random() function call.
- CVE-2014-9690 — High (CVSS 7.5): Huawei home gateways WS318 with software V100R001C01B022 and earlier versions are affected by the PIN offline brute…
- CVE-2016-9154 — High (CVSS 7.5): Siemens Desigo PX Web modules PXA40-W0, PXA40-W1, PXA40-W2 for Desigo PX automation controllers PXC00-E.D, PXC50-E.D,…
- CVE-2026-3290 — High (CVSS 7.4): Timing limitations of the HRNG in RS9116 when power save mode is enabled results in predictable values
- CVE-2017-18486 — High (CVSS 7.2): Jitbit Helpdesk before 9.0.3 allows remote attackers to escalate privileges because of mishandling of the…
- CVE-2019-1715 — Medium (CVSS 5.3): A vulnerability in the Deterministic Random Bit Generator (DRBG), also known as Pseudorandom Number Generator (PRNG),…