Live threats

All CVEs / Hashicorp

CVE-2018-9057Hashicorp Terraform

Weak password generation in Terraform AWS Provider

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Mar 27, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-332
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The AWS provider for Terraform through version 1.12.0 uses an inappropriate and weak PRNG algorithm to generate passwords for IAM user login profiles. A remote attacker can gain access to IAM accounts by exploiting the weak passwords generated during provisioning.

Show the original NVD 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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 1.14.0

Update the Terraform AWS provider to version 1.14.0 or later to obtain secure password generation.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Terraform.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/hashicorp/terraform-provider-aws < 1.14.0 1.14.0 go get github.com/hashicorp/terraform-provider-aws@v1.14.0

Per OSV / GitHub Advisories (GHSA-r48h-jr2j-9g78). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpterraform≤ 1.12.0

On social media

1 person and 1 post on Bluesky in the last 30 days.

Most recent posts, without bots or automated feeds. The text belongs to its authors. Search on Bluesky

Official sources

References

Links published by the sources. Open them with care.

  • github.com Issue Tracking Patch Third Party Advisory