aws-deployment-framework's potential risk can lead to privilege escalation
Published Jun 11, 2024
7.8
HIGHCVSS 3.1
EPSS 0.24%
Description
The AWS Deployment Framework (ADF) is a framework to manage and deploy resources across multiple AWS accounts and regions within an AWS Organization. ADF allows for staged, parallel, multi-account, cross-region deployments of applications or resources via the structure defined in AWS Organizations while taking advantage of services such as AWS CodePipeline, AWS CodeBuild, and AWS CodeCommit to alleviate the heavy lifting and management compared to a traditional CI/CD setup. ADF contains a bootstrap process that is responsible to deploy ADF's bootstrap stacks to facilitate multi-account cross-region deployments. The ADF bootstrap process relies on elevated privileges to perform this task. Two versions of the bootstrap process exist; a code-change driven pipeline using AWS CodeBuild and an event-driven state machine using AWS Lambda. If an actor has permissions to change the behavior of the CodeBuild project or the Lambda function, they would be able to escalate their privileges.
Prior to version 4.0.0, the bootstrap CodeBuild role provides access to the `sts:AssumeRole` operation without further restrictions. Therefore, it is able to assume into any AWS Account in the AWS Organization with the elevated privileges provided by the cross-account access role. By default, this role is not restricted when it is created by AWS Organizations, providing Administrator level access to the AWS resources in the AWS Account. The patches for this issue are included in `aws-deployment-framework` version 4.0.0.
As a temporary mitigation, add a permissions boundary to the roles created by ADF in the management account. The permissions boundary should deny all IAM and STS actions. This permissions boundary should be in place until you upgrade ADF or bootstrap a new account. While the permissions boundary is in place, the account management and bootstrapping of accounts are unable to create, update, or assume into roles. This mitigates the privilege escalation risk, but also disables ADF's ability to create, manage, and bootstrap accounts.
Affected products
-
- Version < 4.0.0StatusaffectedConstraints-
- 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 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Awslabs | AWS-Deployment-Framework | n/a |
|
- < 4.0.0
-
- Version 0StatusaffectedConstraints<4.0.0
- 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 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Awslabs | AWS-Deployment-Framework | n/a |
|
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (GitHub) ▾
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/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
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Jun 11, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (5 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.24% (0.00245) | 14.34th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.24% (0.00245) | 15.47th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.04% (0.00045) | 10.95th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Jun 12, 2024 | 0.04% (0.00045) | 15.38th | v3 (v2023.03.01) |
References (4)
- https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html x_refsource_MISCProduct
- https://github.com/awslabs/aws-deployment-framework/pull/732 x_refsource_MISCRelease Notes
- https://github.com/awslabs/aws-deployment-framework/releases/tag/v4.0.0 x_refsource_MISCRelease Notes
- https://github.com/awslabs/aws-deployment-framework/security/advisories/GHSA-mcj7-ppmv-h6jr x_refsource_CONFIRMVendor Advisory
| Link | Providers | Tags |
|---|---|---|
| https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html | x_refsource_MISCProduct | |
| https://github.com/awslabs/aws-deployment-framework/pull/732 | x_refsource_MISCRelease Notes | |
| https://github.com/awslabs/aws-deployment-framework/releases/tag/v4.0.0 | x_refsource_MISCRelease Notes | |
| https://github.com/awslabs/aws-deployment-framework/security/advisories/GHSA-mcj7-ppmv-h6jr | x_refsource_CONFIRMVendor Advisory |
Change history (0)
No recorded changes yet.