[Aikido] Fix 41 security issues in fast-xml-parser, fast-uri, brace-expansion and 6 more - #59
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
Package lock diff2.4.1 -> 2.6.1 node_modules/@ampproject/remapping removed node_modules/@aws-cdk/asset-awscli-v1 2.2.242 -> 2.2.292 node_modules/@aws-cdk/asset-node-proxy-agent-v6 2.1.0 -> 2.1.3 node_modules/@aws-cdk/cloud-assembly-schema 45.2.0 -> 54.23.0 node_modules/@aws-cdk/cloud-assembly-schema/node_modules/jsonschema 1.4.1 -> 1.5.0 node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver 7.7.2 -> 7.8.5 node_modules/@aws-crypto/sha256-browser removed node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer removed node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from removed node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8 removed node_modules/@aws-crypto/sha256-js removed node_modules/@aws-crypto/supports-web-crypto removed node_modules/@aws-crypto/util removed node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer removed node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from removed node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8 removed node_modules/@aws-sdk/client-cognito-identity removed node_modules/@aws-sdk/client-secrets-manager 3.840.0 -> 3.1133.0 node_modules/@aws-sdk/client-sso removed node_modules/@aws-sdk/core 3.840.0 -> 3.978.0 node_modules/@aws-sdk/credential-provider-cognito-identity 3.840.0 -> 3.972.70 node_modules/@aws-sdk/credential-provider-env 3.840.0 -> 3.972.71 node_modules/@aws-sdk/credential-provider-http 3.840.0 -> 3.972.73 node_modules/@aws-sdk/credential-provider-ini 3.840.0 -> 3.973.16 node_modules/@aws-sdk/credential-provider-node 3.840.0 -> 3.972.83 node_modules/@aws-sdk/credential-provider-process 3.840.0 -> 3.972.71 node_modules/@aws-sdk/credential-provider-sso 3.840.0 -> 3.973.15 node_modules/@aws-sdk/credential-provider-web-identity 3.840.0 -> 3.972.77 node_modules/@aws-sdk/credential-providers 3.840.0 -> 3.1133.0 node_modules/@aws-sdk/middleware-host-header removed node_modules/@aws-sdk/middleware-logger removed node_modules/@aws-sdk/middleware-recursion-detection removed node_modules/@aws-sdk/middleware-user-agent removed node_modules/@aws-sdk/nested-clients 3.840.0 -> 3.997.45 node_modules/@aws-sdk/region-config-resolver removed node_modules/@aws-sdk/token-providers 3.840.0 -> 3.1129.0 node_modules/@aws-sdk/types 3.840.0 -> 3.974.5 node_modules/@aws-sdk/util-endpoints removed node_modules/@aws-sdk/util-locate-window removed node_modules/@aws-sdk/util-user-agent-browser removed node_modules/@aws-sdk/util-user-agent-node removed node_modules/@aws-sdk/xml-builder 3.821.0 -> 3.972.40 node_modules/@babel/code-frame 7.27.1 -> 7.29.7 node_modules/@babel/compat-data 7.28.0 -> 7.29.7 node_modules/@babel/core 7.28.0 -> 7.29.7 node_modules/@babel/generator 7.28.0 -> 7.29.8 node_modules/@babel/helper-compilation-targets 7.27.2 -> 7.29.7 node_modules/@babel/helper-globals 7.28.0 -> 7.29.7 node_modules/@babel/helper-module-imports 7.27.1 -> 7.29.7 node_modules/@babel/helper-module-transforms 7.27.3 -> 7.29.7 node_modules/@babel/helper-plugin-utils 7.27.1 -> 7.29.7 node_modules/@babel/helper-string-parser 7.27.1 -> 7.29.7 node_modules/@babel/helper-validator-identifier 7.27.1 -> 7.29.7 node_modules/@babel/helper-validator-option 7.27.1 -> 7.29.7 node_modules/@babel/helpers 7.27.6 -> 7.29.7 node_modules/@babel/parser 7.28.0 -> 7.29.8 node_modules/@babel/plugin-syntax-import-attributes 7.27.1 -> 7.29.7 node_modules/@babel/plugin-syntax-jsx 7.27.1 -> 7.29.7 node_modules/@babel/plugin-syntax-typescript 7.27.1 -> 7.29.7 node_modules/@babel/template 7.27.2 -> 7.29.7 node_modules/@babel/traverse 7.28.0 -> 7.29.8 node_modules/@babel/types 7.28.0 -> 7.29.8 node_modules/@eslint-community/eslint-utils 4.7.0 -> 4.10.1 node_modules/@eslint-community/regexpp 4.12.1 -> 4.12.2 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml 3.14.1 -> 3.15.2 node_modules/@istanbuljs/schema 0.1.3 -> 0.1.6 node_modules/@jridgewell/gen-mapping 0.3.12 -> 0.3.13 node_modules/@jridgewell/sourcemap-codec 1.5.4 -> 1.6.0 node_modules/@jridgewell/trace-mapping 0.3.29 -> 0.3.31 node_modules/@sinclair/typebox 0.27.8 -> 0.27.12 node_modules/@smithy/abort-controller removed node_modules/@smithy/config-resolver removed node_modules/@smithy/core 3.6.0 -> 3.34.1 node_modules/@smithy/credential-provider-imds 4.0.6 -> 4.5.2 node_modules/@smithy/fetch-http-handler 5.0.4 -> 5.8.0 node_modules/@smithy/hash-node removed node_modules/@smithy/invalid-dependency removed node_modules/@smithy/is-array-buffer removed node_modules/@smithy/middleware-content-length removed node_modules/@smithy/middleware-endpoint removed node_modules/@smithy/middleware-retry removed node_modules/@smithy/middleware-serde removed node_modules/@smithy/middleware-stack removed node_modules/@smithy/node-config-provider removed node_modules/@smithy/node-http-handler 4.0.6 -> 4.12.1 node_modules/@smithy/property-provider removed node_modules/@smithy/protocol-http removed node_modules/@smithy/querystring-builder removed node_modules/@smithy/querystring-parser removed node_modules/@smithy/service-error-classification removed node_modules/@smithy/shared-ini-file-loader removed node_modules/@smithy/signature-v4 5.1.2 -> 5.7.3 node_modules/@smithy/smithy-client removed node_modules/@smithy/types 4.3.1 -> 4.18.0 node_modules/@smithy/url-parser removed node_modules/@smithy/util-base64 removed node_modules/@smithy/util-body-length-browser removed node_modules/@smithy/util-body-length-node removed node_modules/@smithy/util-buffer-from removed node_modules/@smithy/util-config-provider removed node_modules/@smithy/util-defaults-mode-browser removed node_modules/@smithy/util-defaults-mode-node removed node_modules/@smithy/util-endpoints removed node_modules/@smithy/util-hex-encoding removed node_modules/@smithy/util-middleware removed node_modules/@smithy/util-retry removed node_modules/@smithy/util-stream removed node_modules/@smithy/util-uri-escape removed node_modules/@smithy/util-utf8 removed node_modules/@tsconfig/node10 1.0.11 -> 1.0.13 node_modules/@types/babel__traverse 7.20.7 -> 7.28.0 node_modules/@types/node 18.19.117 -> 18.19.130 node_modules/@types/semver 7.7.0 -> 7.8.0 node_modules/@types/uuid removed node_modules/@types/yargs 17.0.33 -> 17.0.35 node_modules/@ungap/structured-clone 1.3.0 -> 1.4.0 node_modules/acorn 8.15.0 -> 8.18.0 node_modules/acorn-walk 8.3.4 -> 8.3.5 node_modules/ajv 6.12.6 -> 6.15.0 node_modules/async removed node_modules/aws-cdk-lib 2.204.0 -> 2.269.0 node_modules/aws-cdk-lib/node_modules/ajv removed node_modules/aws-cdk-lib/node_modules/ansi-regex removed node_modules/aws-cdk-lib/node_modules/ansi-styles removed node_modules/aws-cdk-lib/node_modules/astral-regex removed node_modules/aws-cdk-lib/node_modules/balanced-match 1.0.2 -> 4.0.4 node_modules/aws-cdk-lib/node_modules/brace-expansion 1.1.12 -> 5.0.9 node_modules/aws-cdk-lib/node_modules/color-convert removed node_modules/aws-cdk-lib/node_modules/color-name removed node_modules/aws-cdk-lib/node_modules/concat-map removed node_modules/aws-cdk-lib/node_modules/emoji-regex removed node_modules/aws-cdk-lib/node_modules/fast-deep-equal removed node_modules/aws-cdk-lib/node_modules/fast-uri removed node_modules/aws-cdk-lib/node_modules/fs-extra 11.3.0 -> 11.3.6 node_modules/aws-cdk-lib/node_modules/is-fullwidth-code-point removed node_modules/aws-cdk-lib/node_modules/json-schema-traverse removed node_modules/aws-cdk-lib/node_modules/jsonfile 6.1.0 -> 6.2.1 node_modules/aws-cdk-lib/node_modules/lodash.truncate removed node_modules/aws-cdk-lib/node_modules/minimatch 3.1.2 -> 10.2.5 node_modules/aws-cdk-lib/node_modules/require-from-string removed node_modules/aws-cdk-lib/node_modules/semver 7.7.2 -> 7.8.5 node_modules/aws-cdk-lib/node_modules/slice-ansi removed node_modules/aws-cdk-lib/node_modules/string-width removed node_modules/aws-cdk-lib/node_modules/strip-ansi removed node_modules/aws-cdk-lib/node_modules/table removed node_modules/aws-cdk-lib/node_modules/yaml 1.10.2 -> 1.10.3 node_modules/babel-preset-current-node-syntax 1.1.0 -> 1.2.0 node_modules/bowser 2.11.0 -> 2.14.1 node_modules/brace-expansion 1.1.12 -> 1.1.21 node_modules/browserslist 4.25.1 -> 4.29.0 node_modules/caniuse-lite 1.0.30001727 -> 1.0.30001810 node_modules/collect-v8-coverage 1.0.2 -> 1.0.3 node_modules/constructs 10.4.2 -> 10.8.1 node_modules/debug 4.4.1 -> 4.4.3 node_modules/dedent 1.6.0 -> 1.7.2 node_modules/diff 4.0.2 -> 4.0.4 node_modules/ejs removed node_modules/electron-to-chromium 1.5.180 -> 1.5.429 node_modules/error-ex 1.3.2 -> 1.3.4 node_modules/eslint-config-prettier 8.10.0 -> 8.10.2 node_modules/eslint-plugin-prettier 4.2.1 -> 4.2.5 node_modules/esquery 1.6.0 -> 1.7.0 node_modules/fast-xml-parser removed node_modules/fastq 1.19.1 -> 1.20.3 node_modules/filelist removed node_modules/filelist/node_modules/brace-expansion removed node_modules/filelist/node_modules/minimatch removed node_modules/flatted 3.3.3 -> 3.4.4 node_modules/hasown 2.0.2 -> 2.0.4 node_modules/is-core-module 2.16.1 -> 2.16.2 node_modules/istanbul-reports 3.1.7 -> 3.2.0 node_modules/jake removed node_modules/js-yaml 4.1.0 -> 4.3.2 node_modules/minimatch 3.1.2 -> 3.1.5 node_modules/natural-compare-lite 1.4.0 -> 1.4.1 node_modules/node-releases 2.0.19 -> 2.0.55 node_modules/picomatch 2.3.1 -> 2.3.2 node_modules/prettier-linter-helpers 1.0.0 -> 1.0.1 node_modules/resolve 1.22.10 -> 1.22.12 node_modules/semver 7.7.2 -> 7.8.5 node_modules/strnum removed node_modules/ts-jest 29.4.0 -> 29.4.12 node_modules/typescript 5.8.3 -> 5.9.3 node_modules/update-browserslist-db 1.1.3 -> 1.3.3 node_modules/uuid removed node_modules/yargs 17.7.2 -> 17.7.3 node_modules/@aws-sdk/credential-provider-login added node_modules/@aws-sdk/signature-v4-multi-region added node_modules/@aws/lambda-invoke-store added node_modules/@jridgewell/remapping added node_modules/aws-cdk-lib/node_modules/@aws-cdk/cloud-assembly-api added node_modules/aws-cdk-lib/node_modules/@aws/cloudformation-validate added node_modules/baseline-browser-mapping added node_modules/es-errors added node_modules/handlebars added node_modules/minimist added node_modules/neo-async added node_modules/uglify-js added node_modules/wordwrap added |
Author
|
Aikido's automated cron job opened a newer AutoFix. It fixes the same vulnerabilities and more: [Aikido] Fix 42 security issues in fast-xml-parser, fast-uri, brace-expansion and 6 more |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-117790355-6r5m
branch
September 19, 2026 00:32
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.
Upgrade dependencies to fix critical XSS via XML entity shadowing, XML entity expansion DoS attacks, stack overflow in XML builder, SSRF bypass via URI parsing inconsistency, and other security vulnerabilities.
✅ No breaking changes for: fast-xml-parser, fast-uri, brace-expansion, yaml, @smithy/config-resolver, fs-extra
✅ 41 CVEs resolved by this upgrade, including 1 critical 🚨 CVE
This PR will resolve the following CVEs:
processEntities: false.preserveOrder:truecauses stack overflow leading to denial of service when processing certain inputs. The application crashes, making it unavailable to legitimate users.\\or/\) thatfast-uritreats as paths but Node's URL parser treats as authority, enabling redirection to unintended destinations.%2fand%0d%0a. This enables URL redirection bypasses, allowlist evasion, and header injection attacks on applications normalizing untrusted URLs.serialize()function fails to validate that port values contain only digits, allowing attackers to inject authority delimiters like@to redirect URIs to unintended hosts. This enables silent redirection attacks when serializing user-controlled port data.maxlimit parameter allows callers to bound expansion work.encryptedproperty to produce opposite behavior, disabling encryption when set totrueand enabling it when set tofalse, potentially leaving CodeBuild logs unencrypted.**segments, enabling attackers to stall the event loop for tens of seconds via crafted patterns. This affects any application accepting user-supplied glob patterns, including build tools, CI/CD pipelines, and multi-tenant systems.*()and+()) generate regexps with catastrophic backtracking, causing severe ReDoS denial-of-service attacks with minimal input patterns triggering multi-second hangs.$dataoption is enabled by using inherited property names likeconstructorortoStringas format values, causing unexpected validation behavior or errors.🤖 Remediation details
Fix security vulnerabilities in fast-xml-parser, fast-uri, brace-expansion, aws-cdk-lib, yaml, minimatch, @smithy/config-resolver, ajv, and fs-extra
Short summary
This PR remediates security vulnerabilities in nine npm packages: fast-xml-parser, fast-uri, brace-expansion, aws-cdk-lib, yaml, minimatch, @smithy/config-resolver, ajv, and fs-extra. Three direct dependencies in the root
package.jsonwere bumped (aws-cdk-lib,@aws-sdk/client-secrets-manager,@aws-sdk/credential-providers), and a subsequentnpm updatepass resolved remaining transitive instances inpackage-lock.json. One instance ofbrace-expansion@5.0.9(nested underaws-cdk-lib → minimatch@10.2.5) could not be advanced to5.0.12because versions5.0.10–5.0.12are blocked by the safe-chain minimum-age policy (list ID68722359886433e249be6c7d01f308b4); all other vulnerable instances are fully remediated.fast-xml-parser
Previously resolved at
4.4.1as a transitive dependency of@aws-sdk/core, which was exact-pinned at3.840.0by@aws-sdk/client-secrets-managerand@aws-sdk/credential-providers. Bumping both direct dependencies to^3.844.0caused npm to resolve@aws-sdk/client-secrets-managerand@aws-sdk/credential-providersto3.1133.0, pulling in@aws-sdk/core@3.978.0, which pinsfast-xml-parserat a5.xrelease satisfying>= 4.5.5. The vulnerable4.4.1instance is no longer present in the lockfile.fast-uri
Previously resolved at
3.0.6nested underaws-cdk-lib/node_modules/ajv. Bumpingaws-cdk-libfrom^2.78.0to^2.260.0inpackage.jsoncaused npm to resolveaws-cdk-lib@2.269.0, which no longer carries a separate nestedfast-uriinstance at a vulnerable version. The3.0.6instance is no longer present in the lockfile.brace-expansion
Three instances existed:
1.1.12(root, viaminimatch@3.1.2),2.0.2(underfilelist/minimatch@5.1.6), and1.1.12nested underaws-cdk-lib. Theaws-cdk-libbump resolved the third instance into the5.xline underminimatch@10.2.5; a subsequentnpm update brace-expansion minimatch --package-lock-onlyadvanced the root instance to1.1.21(viaminimatch@3.1.5) and the filelist instance to2.1.7(viaminimatch@5.1.9), both satisfying all patched version requirements. The5.xinstance underaws-cdk-libresolved to5.0.9— the newest non-suppressed5.xrelease — becausebrace-expansion@5.0.10,5.0.11, and5.0.12(published 2026-09-14) are listed in the safe-chain suppressed-packages list and cannot be resolved in this environment at this time.aws-cdk-lib
Declared directly in
package.jsonat^2.78.0, resolving to2.204.0. Bumped to^2.260.0(resolves to2.269.0) to satisfy the patched version requirement of>= 2.260.0and to transitively remediate fast-uri, yaml, fs-extra, minimatch (nested), brace-expansion (nested), and ajv@8.x (nested) in one step.yaml
Previously resolved at
1.10.2as an exact-pinned transitive dependency insideaws-cdk-lib. Bumpingaws-cdk-libto^2.260.0caused the nestedyamlinstance to advance to1.10.3, satisfying the patched version requirement. No separate manifest edit was needed.minimatch
Three instances existed:
3.1.2(root, shared by eslint and other dev tooling),5.1.6(underfilelist), and3.1.2nested underaws-cdk-lib. Theaws-cdk-libbump replaced the nested instance withminimatch@10.2.5(satisfying>= 3.1.4in the10.xline). Thenpm update minimatch --package-lock-onlypass advanced the root instance to3.1.5and the filelist instance to5.1.9, both satisfying all patched version requirements.@smithy/config-resolver
Previously resolved at
4.1.4as a transitive dependency of@aws-sdk/client-secrets-manager,@aws-sdk/credential-providers, and related SDK packages. Bumping both direct SDK dependencies to^3.844.0caused npm to resolve the SDK packages to3.1133.0, which declares@smithy/config-resolverat^4.1.4— a range that npm resolved to a version satisfying>= 4.4.0. The vulnerable4.1.4instance is no longer present in the lockfile.ajv
Two instances existed:
6.12.6(undereslint@8.57.1, declaring^6.12.4) and8.17.1(nested underaws-cdk-lib/node_modules/table). Theaws-cdk-libbump to2.269.0resolved the8.xinstance to a patched version. The6.xinstance was advanced to6.15.0vianpm update ajv --package-lock-only, which is within the^6.12.4range already declared byeslint@8.57.1— no parent bump was required.fs-extra
Previously resolved at
11.3.0as a transitive dependency nested insideaws-cdk-lib. Bumpingaws-cdk-libto^2.260.0caused the nestedfs-extrainstance to advance to11.3.6, satisfying the patched version requirement of>= 11.3.6. No separate manifest edit was needed.Version changes
aws-cdk-lib(declared)^2.78.0^2.260.0aws-cdk-lib(resolved)2.204.02.269.0@aws-sdk/client-secrets-manager(declared)^3.348.0^3.844.0@aws-sdk/client-secrets-manager(resolved)3.840.03.1133.0@aws-sdk/credential-providers(declared)^3.348.0^3.844.0@aws-sdk/credential-providers(resolved)3.840.03.1133.0@aws-sdk/core3.840.03.978.0@aws-sdk/client-secrets-manager)fast-xml-parser4.4.1@aws-sdk/core)@aws-sdk/core)fast-uri3.0.6aws-cdk-lib)yaml(aws-cdk-lib nested)1.10.21.10.3aws-cdk-lib)fs-extra(aws-cdk-lib nested)11.3.011.3.6aws-cdk-lib)minimatch(aws-cdk-lib nested)3.1.210.2.5aws-cdk-lib)minimatch(root)3.1.23.1.5minimatch(filelist nested)5.1.65.1.9brace-expansion(aws-cdk-lib nested)1.1.125.0.9aws-cdk-lib → minimatch@10.2.5); 5.0.10–5.0.12 blocked by safe-chainbrace-expansion(root)1.1.121.1.21minimatch@3.1.5(CVE fix)brace-expansion(filelist nested)2.0.22.1.7minimatch@5.1.9(CVE fix)ajv(root, eslint)6.12.66.15.0ajv(aws-cdk-lib nested)8.17.1aws-cdk-lib)@smithy/config-resolver4.1.44.4.0+@aws-sdk/client-secrets-manager)