# CVE-2018-9057

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-03-27 · Modified: 2024-08-05
- Aliases: CGA-cr83-m92j-9x2p, CGA-j4xp-9232-9ch7, GHSA-r48h-jr2j-9g78
- Record: https://cvemate.com/vulnerability/CVE-2018-9057 · JSON: https://cvemate.com/vulnerability/CVE-2018-9057/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.915%, percentile 80.55%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard terraform-provider-aws (Chainguard): All versions (No fix recorded)
- wolfi terraform-provider-aws (Wolfi): All versions (No fix recorded)
- github.com/hashicorp terraform-provider-aws (Go): \< 1.14.0
- hashicorp terraform: ≤ 1.12.0

## References

- <https://github.com/terraform-providers/terraform-provider-aws/pull/3934>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-9057>
- <https://github.com/hashicorp/terraform-provider-aws/pull/3934>
- <https://github.com/hashicorp/terraform-provider-aws/pull/3989>
- <https://github.com/hashicorp/terraform-provider-aws/commit/efa8cd45c6484ff70b2a515ea7ff06f2459d4ddf>
- <https://github.com/hashicorp/terraform-provider-aws>
- <https://github.com/hashicorp/terraform-provider-aws/blob/02b039aa82dd7fc6e4a97a0922cc5dbbab724021/resource_aws_iam_user_login_profile.go#L70-L80>

---

Data as of 2026-12-05T10:32:20.508Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
