fix(security): bump aws-cdk-lib to 2.260.0 (resolves OS command injection alerts #219-224) - #780
Open
osama-rizk wants to merge 2 commits into
Open
fix(security): bump aws-cdk-lib to 2.260.0 (resolves OS command injection alerts #219-224)#780osama-rizk wants to merge 2 commits into
osama-rizk wants to merge 2 commits into
Conversation
🦋 Changeset detectedLatest commit: bfe182b The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Six open Dependabot alerts (#219–#224, all high severity) for
aws-cdk-lib— OS Command Injection inNodejsFunction(Docker/esbuild bundling path), fixed in2.260.0. The vulnerable2.257.0is pinned as a devDependency in all fivepackages/e2e-tests/*workspaces.Issue number, if available: Dependabot alerts #219, #220, #221, #222, #223, #224
Changes
aws-cdk-lib2.257.0 → 2.260.0in all five e2e-test manifests:node,sandbox,vite,webpack,exports-test.yarn.lock(Yarn 4) — picks up the transitive updates 2.260.0 requires:@aws-cdk/asset-awscli-v1 2.2.273 → 2.2.282,@aws-cdk/cloud-assembly-api → 2.3.0(addsjson-source-map), and a widenedsemverrange.e2e-testsdevDependencies changed; no published package's source, runtime deps, or public API is affected.Validation
Ran locally with
aws-cdk-lib@2.260.0installed:yarn install— clean, lockfile immutable-safe (no "would be modified" error, which is exactly what chore(deps-dev): bump aws-cdk-lib from 2.257.0 to 2.260.0 in /packages/e2e-tests/exports-test #758 hit).yarn build— all packages build, including thevite/webpacke2e bundles. ✅yarn turbo run test --filter='!./packages/e2e-tests/*'— 556 passed / 9 skipped, 118 snapshots. ✅yarn e2e-exports(fresh install + rollup ESM/CJS build + declaration check) — passes. ✅No source in the repo imports
aws-cdk-libdirectly; CDK is only reached transitively via@aws-amplify/backend'sdefineBackend(peer rangeaws-cdk-lib@^2.234.1, which2.260.0satisfies). The deploy-based e2e tests (node,sandbox) require AWS credentials and run in the repo's own e2e workflows rather than locally.Checklist
node/sandbox) run in CIBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.