VDB

CVE-2018-9057

CVE-2018-9057 PUBLISHED CVSS 9.800000190734863 CRITICAL

HashiCorp Terraform Amazon Web Services (AWS) uses an insecure PRNG

Reported by mitre · Published March 27, 2018

github.com/hashicorp/terraform-provider-aws is fixed in 1.14.0 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/hashicorp/terraform-provider-awsGo Modules1.14.0
terraformhashicorp1.12.0

Risk scores

CVSS 3.0
9.800000190734863
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
wolfiterraform-provider-aws*
n/an/a*
chainguardterraform-provider-aws*
github.comhashicorp/terraform-provider-aws0

Timeline

  • Mar 27, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 21, 2024 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Sep 18, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-9057
vulnetix vdb fixes CVE-2018-9057

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-9057/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›