sveltekit-adapter-aws
sveltekit-adapter-aws copied to clipboard
fix(deps): update dependency aws-cdk-lib to v2.184.0 [security] - abandoned
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| aws-cdk-lib (source) | 2.183.0 -> 2.184.0 |
GitHub Vulnerability Alerts
GHSA-5pq3-h73f-66hr
Summary
The AWS Cloud Development Kit (CDK) is an open-source framework for defining cloud infrastructure using code. Users use it to create their own applications, which are converted to AWS CloudFormation templates during deployment to a user's AWS account. AWS CDK contains pre-built components called "constructs," which are higher-level abstractions providing defaults and best practices. This approach enables developers to use familiar programming languages to define complex cloud infrastructure more efficiently than writing raw CloudFormation templates.
The AWS CodePipeline construct deploys CodePipeline, a managed service that orchestrates software release processes through a series of stages, each comprising one or more actions executed by CodePipeline. To perform these actions, CodePipeline assumes IAM roles with permissions necessary for each step, allowing it to interact with AWS services and resources on behalf of the user.
An issue exists where, when using CDK to create a CodePipeline with the CDK Construct Library, CDK creates an AWS Identity and Access Management (AWS IAM) trust policy with overly broad permissions. Any user with unrestricted sts:AssumeRole permissions could assume that trust policy. This issue does not affect users who supply their own role for CodePipeline.
Impact
To leverage the issue, an actor has to be authenticated in the account and have an unrestricted sts:AssumeRole permission. The permissions an actor could leverage depend on the actions added to the pipeline. Possible permissions include actions on services such as CloudFormation, CodeCommit, Lambda, and ECS, as well as access to the S3 bucket holding pipeline build artifacts (see documentation).
Users can review their AWS CloudTrail logs for when the role was assumed to determine if this was expected.
Impacted versions: <v2.184.0
Patches
The patches are included in the CDK Construct Library release v2.184.0. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.
When new CDK applications using the latest version are initialized, they will use the new behavior with more restrictive permissions.
Existing applications must upgrade to the latest version, change the feature flag (@​aws-cdk/pipelines:reduceStageRoleTrustScope) to true and redeploy the application to apply this fix and use the new behavior with more restrictive permissions.
Workarounds
You can explicitly supply the role for your CodePipeline and follow the policy recommendations detailed in CodePipeline documentation.
References
If you have any questions or comments about this advisory please contact AWS/Amazon Security via our vulnerability reporting page or directly via email to [email protected]. Please do not create a public GitHub issue.
Release Notes
aws/aws-cdk (aws-cdk-lib)
v2.184.0
Features
- ecr: throw ValidationError instead of untyped Errors (#​33750) (242690f)
- lambda: support s3 OFD for Kinesis/DynamoDB (#​33739) (3f1fecf)
- rds: allow to specify availability zone for Aurora instances (#​33515) (583d5f2), closes #​33503 #​30618
Bug Fixes
- codepipeline: replace account root principal with current pipeline role in the trust policy under ff: @​aws-cdk/pipelines:reduceStageRoleTrustScope (#​33742) (a64b01c), closes #​33709
- core: message including tokens from annotations cannot output correctly (#​33706) (55a3c4c), closes #​33707
- events-targets: add LogGroupTargetInput.fromObjectV2() method (#​33720) (584a58c)
Alpha modules (2.184.0-alpha.0)
âš BREAKING CHANGES TO EXPERIMENTAL FEATURES
- glue-alpha: Updated casing of
workflow.addconditionalTriggertoworkflow.addConditionalTrigger.
Bug Fixes
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.