Repository navigation
[Aikido] Fix 47 security issues in fast-xml-parser, fast-uri, brace-expansion and 6 more - #62
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.25.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.1142.0 node_modules/@aws-sdk/client-sso removed node_modules/@aws-sdk/core 3.840.0 -> 3.978.1 node_modules/@aws-sdk/credential-provider-cognito-identity 3.840.0 -> 3.972.71 node_modules/@aws-sdk/credential-provider-env 3.840.0 -> 3.972.72 node_modules/@aws-sdk/credential-provider-http 3.840.0 -> 3.972.74 node_modules/@aws-sdk/credential-provider-ini 3.840.0 -> 3.973.17 node_modules/@aws-sdk/credential-provider-node 3.840.0 -> 3.972.84 node_modules/@aws-sdk/credential-provider-process 3.840.0 -> 3.972.72 node_modules/@aws-sdk/credential-provider-sso 3.840.0 -> 3.973.16 node_modules/@aws-sdk/credential-provider-web-identity 3.840.0 -> 3.972.78 node_modules/@aws-sdk/credential-providers 3.840.0 -> 3.1142.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.46 node_modules/@aws-sdk/region-config-resolver removed node_modules/@aws-sdk/token-providers 3.840.0 -> 3.1138.0 node_modules/@aws-sdk/types 3.840.0 -> 3.974.6 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.41 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.9 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.35.0 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.4 node_modules/@smithy/smithy-client removed node_modules/@smithy/types 4.3.1 -> 4.19.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.271.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/balanced-match removed node_modules/bowser 2.11.0 -> 2.14.1 node_modules/brace-expansion removed node_modules/browserslist 4.25.1 -> 4.29.2 node_modules/caniuse-lite 1.0.30001727 -> 1.0.30001813 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.439 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.17.0 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.57 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.14 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/minimatch/node_modules/balanced-match added node_modules/minimatch/node_modules/brace-expansion 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 48 security issues in fast-xml-parser, fast-uri, brace-expansion and 6 more |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-130069059-3ekn
branch
October 23, 2026 00:12
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
✅ 47 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 the following packages: fast-xml-parser, fast-uri, brace-expansion, aws-cdk-lib, yaml, minimatch, @smithy/config-resolver, ajv, and fs-extra. The changes touch the root
package.json(three direct dependency version specs bumped) andpackage-lock.json(multiple transitive resolutions updated vianpm install --package-lock-onlyandnpm update --package-lock-only). One instance ofbrace-expansion@5.0.9nested insideaws-cdk-lib's bundle remains at its published version because it is physically embedded in theaws-cdk-lib@2.271.0tarball ("inBundle": true) and cannot be overridden by npm; no neweraws-cdk-librelease was available through the registry at the time of this fix.fast-xml-parser
fast-xml-parserwas a transitive dependency resolved through@aws-sdk/core, which was itself pulled in by the direct dependencies@aws-sdk/client-secrets-managerand@aws-sdk/credential-providers. The installed version4.4.1was vulnerable; the fix required@aws-sdk/core@3.844.0+, which pinsfast-xml-parserat a patched5.xrelease. Both direct AWS SDK packages were bumped inpackage.jsonfrom^3.348.0to^3.844.0, causingnpm install --package-lock-onlyto resolve@aws-sdk/coreto3.978.1and pull in a patchedfast-xml-parserautomatically.fast-uri
fast-uriwas a transitive dependency ofajv@8.x, which was itself nested insideaws-cdk-lib. The installed version3.0.6was vulnerable;ajv@8.17.1declaresfast-uri@^3.0.1, which permits3.1.8+. Bumpingaws-cdk-libinpackage.jsonto^2.260.0caused npm to resolve a neweraws-cdk-libthat no longer carries a separate nestedajv/fast-urisubtree, eliminating the vulnerable instance entirely.brace-expansion
brace-expansionappeared in three instances. The1.1.12instance (underminimatch@3.1.2) and the2.0.2instance (underfilelist/node_modules/minimatch@5.1.6) were fixed by runningnpm update minimatch brace-expansion --package-lock-only, which resolvedminimatchto3.1.5and5.1.9respectively and pulled inbrace-expansion@1.1.21and2.1.7. The third instance,5.0.9atnode_modules/aws-cdk-lib/node_modules/brace-expansion, carries"inBundle": truein the lockfile — it is physically packed into theaws-cdk-lib@2.271.0tarball as a transitive bundled dependency of the bundledminimatch; npm overrides cannot affect bundled packages, andaws-cdk-lib@2.272.0(the next release containing a fix) was unavailable through the registry at fix time.aws-cdk-lib
aws-cdk-libitself was a vulnerable direct dependency. The declared spec inpackage.jsonwas widened from^2.78.0to^2.260.0to satisfy the patched version floor, resolving to2.271.0in the lockfile. This single bump also transitively resolved the nested vulnerable packagesyaml,fs-extra,minimatch(the10.xinstance), andfast-urithataws-cdk-libcarries in its ownnode_modulessubtree.yaml
yamlwas a transitive dependency pinned exactly as1.10.2insideaws-cdk-lib@2.204.0. The patched version is1.10.3. Bumpingaws-cdk-libto^2.260.0(first fixing version:2.245.0) caused npm to resolveaws-cdk-lib@2.271.0, which pinsyamlat1.10.3, directly satisfying the patched requirement.minimatch
minimatchappeared in multiple instances. The3.1.2instance (shared by eslint, glob, and other dev-tool parents) was fixed bynpm update minimatch --package-lock-only, resolving it to3.1.5. The10.xinstance nested insideaws-cdk-libmoved from3.1.2to10.2.5as a result of theaws-cdk-libparent bump;10.2.5satisfies the patched version requirement for the10.xline.@smithy/config-resolver
@smithy/config-resolver@4.1.4was a transitive dependency shared across multiple@aws-sdk/*packages. The patched version floor is4.4.0; the parent packages (@aws-sdk/client-secrets-manager,@aws-sdk/credential-providers, and siblings) declare^4.1.4, which permits4.4.0+. Bumping both direct AWS SDK packages inpackage.jsonto^3.844.0caused npm to resolve the full AWS SDK ecosystem to3.1142.0, which pulls in a patched@smithy/config-resolverautomatically — the package no longer appears as a separate lockfile instance.ajv
ajvappeared in two instances. The6.12.6instance (under eslint's@eslint/eslintrc) was fixed bynpm update ajv --package-lock-only, resolving it to6.15.0, which satisfies the patched floor of6.14.0. The8.17.1instance nested insideaws-cdk-lib/node_modules/tablewas eliminated when theaws-cdk-libbump caused npm to resolve a version ofaws-cdk-libthat no longer carries a separate nestedajv@8.xsubtree.fs-extra
fs-extra@11.3.0was a transitive dependency nested insideaws-cdk-lib@2.204.0, which declared it as^11.3.0. The patched version is11.3.6. Bumpingaws-cdk-libto^2.260.0resolvedaws-cdk-lib@2.271.0, which declares^11.3.6and resolvesfs-extrato11.3.6in the lockfile.Version changes
aws-cdk-lib^2.78.0(resolved2.204.0)^2.260.0(resolved2.271.0)@aws-sdk/client-secrets-manager^3.348.0(resolved3.840.0)^3.844.0(resolved3.1142.0)@aws-sdk/credential-providers^3.348.0(resolved3.840.0)^3.844.0(resolved3.1142.0)@aws-sdk/core3.840.03.978.1fast-xml-parser4.4.1@aws-sdk/core@3.978.1(no separate instance)fast-uri3.0.6@smithy/config-resolver4.1.4yaml1.10.21.10.3fs-extra11.3.011.3.6minimatch(aws-cdk-lib subtree)3.1.210.2.5minimatch(root/eslint)3.1.23.1.5npm update); direct CVE fixbrace-expansion(root, under minimatch 3.x)1.1.121.1.21npm update); direct CVE fixbrace-expansion(filelist subtree, under minimatch 5.x)2.0.22.1.7npm update); direct CVE fixajv(root/eslint)6.12.66.15.0npm update); direct CVE fixajv(aws-cdk-lib/table subtree)8.17.1