CVE-2018-9057
CRITICAL 9.8CVSS 3.0HashiCorp Terraform Amazon Web Services (AWS) uses an insecure PRNG
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
- 27 Mar 2018
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-332
- Also known as
- GHSA-r48h-jr2j-9g78
- Sources
- NVDJSONOSV GHSA-r48h-jr2j-9g78JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | terraformcpe:2.3:a:hashicorp:terraform:*:*:*:*:*:aws:*:* |
<= 1.12.0 | |
| OSV | Go | github.com/hashicorp/terraform-provider-aws | < 1.14.0 | 1.14.0 |
References
- https://github.com/terraform-providers/terraform-provider-aws/pull/3934 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-9057 · ADVISORY
- https://github.com/hashicorp/terraform-provider-aws/pull/3934 · WEB
- https://github.com/hashicorp/terraform-provider-aws/pull/3989 · WEB
- https://github.com/hashicorp/terraform-provider-aws/commit/efa8cd45c6484ff70b2a515ea7ff06f2459d4ddf · WEB
- https://github.com/hashicorp/terraform-provider-aws · PACKAGE
- https://github.com/hashicorp/terraform-provider-aws/blob/02b039aa82dd7fc6e4a97a0922cc5dbbab724021/resource_aws_iam_user_login_profile.go#L70-L80 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 27 Mar 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 May 2022)