{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-9057","id":"CVE-2018-9057","title":" HashiCorp Terraform Amazon Web Services (AWS) uses an insecure PRNG ","description":"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.","descriptionLong":"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-27T18:00:00.000Z","updated":"2026-10-24T10:47:47.818848411Z","reserved":"2018-03-27T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/hashicorp/terraform-provider-aws","purl":"pkg:golang/github.com/hashicorp/terraform-provider-aws","ranges":["<1.14.0"],"fixed":["1.14.0"],"advisory":"GHSA-r48h-jr2j-9g78"}],"cwes":["CWE-332"],"aliases":["GHSA-r48h-jr2j-9g78"],"references":[{"url":"https://github.com/terraform-providers/terraform-provider-aws/pull/3934","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-9057","tags":["advisory"]},{"url":"https://github.com/hashicorp/terraform-provider-aws/pull/3934","tags":["web"]},{"url":"https://github.com/hashicorp/terraform-provider-aws/pull/3989","tags":["web"]},{"url":"https://github.com/hashicorp/terraform-provider-aws/commit/efa8cd45c6484ff70b2a515ea7ff06f2459d4ddf","tags":["web"]},{"url":"https://github.com/hashicorp/terraform-provider-aws","tags":["package"]},{"url":"https://github.com/hashicorp/terraform-provider-aws/blob/02b039aa82dd7fc6e4a97a0922cc5dbbab724021/resource_aws_iam_user_login_profile.go#L70-L80","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01915,"epssPercentile":0.80263,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-9057","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-9057","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-9057","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r48h-jr2j-9g78","ok":true,"note":"GHSA-r48h-jr2j-9g78"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-9057","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}