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.

Published: 2018-03-27 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-9057 is rated High Risk (68.3/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 2.04%). Core evidence: EPSS rose +1.57% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2018-9057

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.46% 2.04% +1.57%
2 2025-11-21 0.28% 0.46% +0.19%
3 2025-11-18 0.28%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-9057

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.0 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:N)
No availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2018-9057

GitHub Security Advisory for CVE-2018-9057

GHSA-r48h-jr2j-9g78 · Severity: critical · Ecosystem: go — HashiCorp Terraform Amazon Web Services (AWS) uses an insecure PRNG

OS Trackers for CVE-2018-9057

vendor priority summary link
alpine critical CVE-2018-9057: 1 source package rows (terraform); 2 state rows across 2 repos (3.17-community, 3.18-community); fixed 0, open 2. https://security.alpinelinux.org/vuln/CVE-2018-9057

Affected software / configurations for CVE-2018-9057

Vendor Product Version Raw CPE
hashicorp terraform <= 1.12.0 cpe:2.3:a:hashicorp:terraform:*:*:*:*:*:aws:*:*

References for CVE-2018-9057

URL Tags
https://github.com/terraform-providers/terraform-provider-aws/pull/3934 Issue Tracking Patch Third Party Advisory
cvelogic Threat Intelligence