chore(deps): update dependency aws-cdk-lib to v2.177.0 [security] #86
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.152.0
->2.177.0
GitHub Vulnerability Alerts
CVE-2025-23206
Impact
Users who use IAM OIDC custom resource provider package will download CA Thumbprints as part of the custom resource workflow, https://github.com/aws/aws-cdk/blob/d16482fc8a4a3e1f62751f481b770c09034df7d2/packages/%40aws-cdk/custom-resource-handlers/lib/aws-iam/oidc-handler/external.ts#L34.
However, the current
tls.connect
method will always setrejectUnauthorized: false
which is a potential security concern. CDK should follow the best practice and setrejectUnauthorized: true
. However, this could be a breaking change for existing CDK applications and we should fix this with a feature flag.Note that this is marked as low severity Security advisory because the issuer url is provided by CDK users who define the CDK application. If they insist on connecting to a unauthorized OIDC provider, CDK should not disallow this. Additionally, the code block is run in a Lambda environment which mitigate the MITM attack.
As a best practice, CDK should still fix this issue under a feature flag to avoid regression.
Patches
The patch is in progress. To mitigate, upgrade to CDK v2.177.0 (Expected release date 2025-02-22).
Once upgraded, please make sure the feature flag '@aws-cdk/aws-iam:oidcRejectUnauthorizedConnections' is set to true in
cdk.context.json
orcdk.json
. More details on feature flag setting is here.Workarounds
N/A
References
https://github.com/aws/aws-cdk/issues/32920
Release Notes
aws/aws-cdk (aws-cdk-lib)
v2.177.0
Compare Source
Features
ValidationError
instead of untyped errors (#33072) (8b472fc), closes #32569ValidationError
instead of untyped errors (#33082) (5377586), closes #32569ValidationError
instead of untyped errors (#33076) (dd34d2e), closes #32569ValidationError
intsead of untyped errors (#33111) (cc1988a), closes #32569ValidationError
instead of untyped errors (#33033) (a928748), closes #32569ValidationError
instead of untyped errors (#33042) (0b2db62), closes #32569ValidationError
instead of untyped errors (#33110) (5e0f16d), closes #32569ValidationError
instead of untyped errors (#33031) (61e876b), closes #32569ValidationError
instead of untyped errors (#33109) (aea8f3b), closes #32569ValidationError
instead of untyped errors (#33045) (7452462), closes #32569ValidationError
instead of untyped errors (#33046) (6469412), closes #32569ValidationError
instead of untyped errors (#33067) (6677b33), closes #32569ValidationError
instead of untyped errors (#33079) (e4703c1), closes #32569Bug Fixes
Alpha modules (2.177.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
instantiation method calls to choose the right job type and language,
and use the new constants static values to define the associated Job
configuration settings. See the RFC and/or new README for examples.
Description of how you validated changes
Increased unit test coverage to > 90%, consulted with Glue service team
on best practices and sane defaults, updated integration tests.
Features
ValidationError
instead of untyped errors (#33141) (a7cd9eb), closes #32569Bug Fixes
Code Refactoring
v2.176.0
Compare Source
Features
WebSocketMockIntegration
props (#30622) (a5a0168), closes #29661Bug Fixes
aws-cdk
(#32817) (97af31b), closes #32237Reverts
Alpha modules (2.176.0-alpha.0)
Features
Bug Fixes
v2.175.1
Compare Source
Bug Fixes
Alpha modules (2.175.1-alpha.0)
v2.175.0
Compare Source
Features
cdk destroy
(#32636) (c199378), closes #32545 #27179 40aws-cdk-testing/cli-integ/tests/cli-integ-tests/cli.integtest.ts#L190 aws-cdk-testing/cli-integ/tests/cli-integ-tests/cli.integtest.ts#L286-L291Bug Fixes
CI=false
(#32749) (26b361d)canContainersAccessInstanceRole=false
and also deprecate property (#32763) (bbdd42c), closes #28518Alpha modules (2.175.0-alpha.0)
Features
Bug Fixes
ENOENT
no such file or directory 'recommended-feature-flags.json' (#32750) (f809b94)v2.174.1
Compare Source
Features
Alpha modules (2.174.1-alpha.0)
v2.174.0
Compare Source
Features
availabilityZoneDistribution
property to an AutoScalingGroup (#32100) (ecfce7c)Bug Fixes
@aws-cdk/cloud-assembly-schema
(#32704) (3b162fc)null
forexpiration
(#32554) (d4f6946)Reverts
Alpha modules (2.174.0-alpha.0)
Features
3_7_X
and3_7_X_KRAFT
(#32515) (cbacf4d)Bug Fixes
rangesOverlap
(#32269) (87e21d6), closes #32145 #32145v2.173.4
Compare Source
Bug Fixes
expiration: null
(#32668) (4da2f65), closes #32111Alpha modules (2.173.4-alpha.0)
v2.173.3
Compare Source
Bug Fixes
Alpha modules (2.173.3-alpha.0)
v2.173.2
Compare Source
Bug Fixes
null
forexpiration
(#32554) (e59b1db)Alpha modules (2.173.2-alpha.0)
v2.173.1
Compare Source
Bug Fixes
Alpha modules (2.173.1-alpha.0)
v2.173.0
Compare Source
Features
Bug Fixes
AutoScalingGroup
requireImdsv2 with launchTemplate or mixedInstancesPolicy throws unclear error (#32220) (06cdaac), closes #27586 #27586period
of each metric inusingMetrics
forMathExpression
is ignored (#30986) (59e96a3), closes /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-cloudwatch/lib/metric.ts#L606-L608 /github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-cloudwatch/lib/metric.ts#L566Alpha modules (2.173.0-alpha.0)
Features
v2.172.0
Compare Source
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
APIGatewayV2
constructs fromaws-apigateway
module.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Features
cloudFrontEndpoint
method for user pool domain without custom resource (#31402) (deeb2ad), closes #31342 /github.com/go-to-k/aws-cdk/blob/fcbdc769e681f1f915cdc8cd7aa3a565d807884d/packages/aws-cdk-lib/aws-route53-targets/lib/userpool-domain.ts#L14AppSync
route53 target (#31976) (dc7574a), closes #26109Bug Fixes
appsync.HttpDataSourceProps
erroneously extendsBaseDataSourceProps
(#32065) (4e7f5c4), closes #29689lambda:GetFunctionConfiguration
action is not allowed (#32301) (be000a2), closes /github.com/aws/aws-sdk-js-v3/blob/main/clients/client-lambda/src/waiters/waitForFunctionUpdatedV2.ts#L10 /github.com/aws/aws-sdk-js-v3/blob/main/clients/client-lambda/src/waiters/waitForFunctionUpdated.ts#L13$AWS_PROFILE
is used (#32313) (6458439), closes #32312--no-rollback
flag that is present (#32309) (559d676), closes #32295originAccessControlId
CloudFront Origin property to CloudFormation templates (#32020) (f9708a6), closes #32018Role.addManagedPolicy()
does not work for imported rolesIRole
#8307 (#31212) (c78ef1b), closes /github.com/aws/aws-cdk/blob/823ff6e03899f790a4cb1c43f92a02cc906ac356/packages/aws-cdk-lib/aws-iam/lib/identity-base.ts#L17-L21Alpha modules (2.172.0-alpha.0)
Features
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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.