Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify projects
Published Apr 15, 2024
9.8
CRITICALCVSS 3.1
EPSS 1.67%
Description
Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify projects. When the Authentication component is removed from an Amplify project, a Condition property is removed but "Effect":"Allow" remains present, and consequently sts:AssumeRoleWithWebIdentity would be available to threat actors with no conditions. Thus, if Amplify CLI had been used to remove the Authentication component from a project built between August 2019 and January 2024, an "assume role" may have occurred, and may have been leveraged to obtain unauthorized access to an organization's AWS resources. NOTE: the problem could only occur if an authorized AWS user removed an Authentication component. (The vulnerability did not give a threat actor the ability to remove an Authentication component.) However, in realistic situations, an authorized AWS user may have removed an Authentication component, e.g., if the objective were to stop using built-in Cognito resources, or move to a completely different identity provider.
Affected products
No data.
- < 12.10.1
-
- Version 0StatusaffectedConstraints<12.10.1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| AWS | Amplify Cli | n/a |
|
No Red Hat product state for this CVE.
@aws-amplify/cli
npm
Introduced 0 Fixed 12.10.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @aws-amplify/cli | 0 | 12.10.1 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed Jun 18, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.67% (0.01665) | 75.86th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.26% (0.01257) | 65.57th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.52% (0.00516) | 63.96th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.63% (0.01627) | 70.35th | v4 (v2025.03.14) |
| Mar 28, 2025 | 0.52% (0.00516) | 63.99th | v4 (v2025.03.14) |
| Mar 27, 2025 | 1.63% (0.01627) | 79.66th | v4 (v2025.03.14) |
| Mar 20, 2025 | 0.60% (0.00597) | 66.99th | v4 (v2025.03.14) |
| Mar 19, 2025 | 1.88% (0.01878) | 81.21th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.51% (0.00513) | 64.48th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00045) | 17.70th | v3 (v2023.03.01) |
| Jul 16, 2024 | 0.04% (0.00045) | 15.94th | v3 (v2023.03.01) |
| Apr 16, 2024 | 0.04% (0.00045) | 13.93th | v3 (v2023.03.01) |
References (7)
- https://aws.amazon.com/security/security-bulletins/AWS-2024-003 Vendor Advisory
- https://github.com/advisories/GHSA-846g-p7hm-f54r Advisory
- https://github.com/aws-amplify/amplify-cli/blob/8ad57bf99a404f3c92547c8a175458016f682fac/packages/amplify-provider-awscloudformation/resources/update-idp-roles-cfn.json Product
- https://github.com/aws-amplify/amplify-cli/commit/73b08dc424db2fb60399c5343c314e02e849d4a1 Patch
- https://github.com/aws-amplify/amplify-cli/releases/tag/v12.10.1 Release Notes
- https://nvd.nist.gov/vuln/detail/CVE-2024-28056
- https://securitylabs.datadoghq.com/articles/amplified-exposure-how-aws-flaws-made-amplify-iam-roles-vulnerable-to-takeover ExploitThird Party Advisory
Change history (0)
No recorded changes yet.