{"schemaVersion":3,"id":"CVE-2018-9057","aliases":["CGA-cr83-m92j-9x2p","CGA-j4xp-9232-9ch7","GHSA-r48h-jr2j-9g78"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-03-27T18:00:00.000Z","modified":"2024-08-05T07:10:47.407Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Wolfi","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Go","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Chainguard","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.01915,"percentile":0.79556,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01915},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01726,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01915,"percentile":0.79556}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01726,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01915,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01915,"percentile":0.79556}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-332","name":"Insufficient Entropy in PRNG","description":"The lack of entropy available for, or used by, a Pseudo-Random Number Generator (PRNG) can be a stability and security threat.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/332.html"}],"affected":[{"vendor":"chainguard","product":"terraform-provider-aws","name":"terraform-provider-aws","label":"terraform-provider-aws","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/terraform-provider-aws","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"terraform-provider-aws","name":"terraform-provider-aws","label":"terraform-provider-aws","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/terraform-provider-aws","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/hashicorp","product":"terraform-provider-aws","name":"github.com/hashicorp/terraform-provider-aws","label":"terraform-provider-aws","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/hashicorp/terraform-provider-aws","purlType":"golang","versions":[{"text":"< 1.14.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.14.0","eol":null,"hubHref":null},{"vendor":"hashicorp","product":"terraform","name":"terraform","label":"terraform","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.12.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"terraform","label":"Hashicorp Terraform","category":"app"}},"hubHref":"/vendor/hashicorp/terraform"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/terraform-providers/terraform-provider-aws/pull/3934","label":"github.com/terraform-providers/terraform-provider-aws/pull/3934","hostname":"github.com","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory","FIX","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-9057","label":"nvd.nist.gov/vuln/detail/CVE-2018-9057","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/hashicorp/terraform-provider-aws/pull/3934","label":"github.com/hashicorp/terraform-provider-aws/pull/3934","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/hashicorp/terraform-provider-aws/pull/3989","label":"github.com/hashicorp/terraform-provider-aws/pull/3989","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/hashicorp/terraform-provider-aws/commit/efa8cd45c6484ff70b2a515ea7ff06f2459d4ddf","label":"github.com/hashicorp/terraform-provider-aws/commit/efa8cd45c6484ff70b2a515ea7ff06f2459d4ddf","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/hashicorp/terraform-provider-aws","label":"github.com/hashicorp/terraform-provider-aws","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/hashicorp/terraform-provider-aws/blob/02b039aa82dd7fc6e4a97a0922cc5dbbab724021/resource_aws_iam_user_login_profile.go#L70-L80","label":"github.com/hashicorp/…","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-4FVW-86MV-QRV4","CGA-F3XQ-FHQ3-5F3W"]},"timeline":[{"kind":"published","date":"2018-03-27T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T07:10:47.407Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:11:34.496Z","stale":false,"partial":false}}