chore(deps): update dependency aws-cdk-lib [security] #25
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.95.1->^2.178.12.95.1->2.177.0GitHub 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.connectmethod will always setrejectUnauthorized: falsewhich 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.jsonorcdk.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.178.1Compare Source
Bug Fixes
Alpha modules (2.178.1-alpha.0)
v2.178.0Compare Source
Features
ValidationErrorinstead of untyped errors (#33075) (04efe6c), closes #32569ValidationErrorinstead of untyped errors (#33172) (abd4a3e), closes #32569ValidationErroristead of untyped Errors (#33245) (ba2f5c8), closes #32569ValidationErrorinstead of untyped errors (#33206) (ab9dd0a), closes #32569ValidationErrorinstead of untyped errors (#33170) (ecbe1bf)ExternalServicesupport daemon scheduling strategy (#32630) (361c7d3), closes #32538tlsproperty to a ServiceConnectService (#32605) (d32baf6), closes #32583containerCpuandcontainerMemoryLimitMiBproperty toApplicationLoadBalancedFargateService(#30920) (4dd97bc), closes #20638 #20638ValidationErrorinstead of untyped errors in L1s (#33032) (1b666db), closes #32569Bug Fixes
Alpha modules (2.178.0-alpha.0)
⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
operatingRegionproperty under IPAM class is now renamed tooperatingRegions.Features
ec2-alphamodule is now in Developer Preview (#33230) (a06f91a)Bug Fixes
v2.177.0Compare Source
Features
ValidationErrorinstead of untyped errors (#33072) (8b472fc), closes #32569ValidationErrorinstead of untyped errors (#33082) (5377586), closes #32569ValidationErrorinstead of untyped errors (#33076) (dd34d2e), closes #32569ValidationErrorintsead of untyped errors (#33111) (cc1988a), closes #32569ValidationErrorinstead of untyped errors (#33033) (a928748), closes #32569ValidationErrorinstead of untyped errors (#33042) (0b2db62), closes #32569ValidationErrorinstead of untyped errors (#33110) (5e0f16d), closes #32569ValidationErrorinstead of untyped errors (#33031) (61e876b), closes #32569ValidationErrorinstead of untyped errors (#33109) (aea8f3b), closes #32569ValidationErrorinstead of untyped errors (#33045) (7452462), closes #32569ValidationErrorinstead of untyped errors (#33046) (6469412), closes #32569ValidationErrorinstead of untyped errors (#33067) (6677b33), closes #32569ValidationErrorinstead 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
ValidationErrorinstead of untyped errors (#33141) (a7cd9eb), closes #32569Bug Fixes
Code Refactoring
v2.176.0Compare Source
Features
WebSocketMockIntegrationprops (#30622) (a5a0168), closes #29661Bug Fixes
aws-cdk(#32817) (97af31b), closes #32237Reverts
Alpha modules (2.176.0-alpha.0)
Features
Bug Fixes
v2.175.1Compare Source
Bug Fixes
Alpha modules (2.175.1-alpha.0)
v2.175.0Compare 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=falseand also deprecate property (#32763) (bbdd42c), closes #28518Alpha modules (2.175.0-alpha.0)
Features
Bug Fixes
ENOENTno such file or directory 'recommended-feature-flags.json' (#32750) (f809b94)v2.174.1Compare Source
Features
Alpha modules (2.174.1-alpha.0)
v2.174.0Compare Source
Features
availabilityZoneDistributionproperty to an AutoScalingGroup (#32100) (ecfce7c)Bug Fixes
@aws-cdk/cloud-assembly-schema(#32704) (3b162fc)nullforexpiration(#32554) (d4f6946)Reverts
Alpha modules (2.174.0-alpha.0)
Features
3_7_Xand3_7_X_KRAFT(#32515) (cbacf4d)Bug Fixes
rangesOverlap(#32269) (87e21d6), closes #32145v2.173.4Compare Source
Bug Fixes
expiration: null(#32668) (4da2f65), closes #32111Alpha modules (2.173.4-alpha.0)
v2.173.3Compare Source
Bug Fixes
Alpha modules (2.173.3-alpha.0)
v2.173.2Compare Source
Bug Fixes
nullforexpiration(#32554) (e59b1db)Alpha modules (2.173.2-alpha.0)
v2.173.1Compare Source
Bug Fixes
Alpha modules (2.173.1-alpha.0)
v2.173.0Compare Source
Features
Bug Fixes
AutoScalingGrouprequireImdsv2 with launchTemplate or mixedInstancesPolicy throws unclear error (#32220) (06cdaac), closes #27586 #27586periodof each metric inusingMetricsforMathExpressionis 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#L566Configuration
📅 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.