Repository navigation
[Aikido] Fix 43 security issues in fast-xml-parser, fast-uri, brace-expansion and 6 more - #61
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/@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.1141.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.1141.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/@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/@types/uuid removed node_modules/ajv 6.12.6 -> 6.15.0 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/balanced-match removed node_modules/bowser 2.11.0 -> 2.14.1 node_modules/brace-expansion removed node_modules/constructs 10.4.2 -> 10.8.1 node_modules/fast-xml-parser removed node_modules/filelist/node_modules/brace-expansion 2.0.2 -> 2.1.7 node_modules/filelist/node_modules/minimatch 5.1.6 -> 5.1.9 node_modules/minimatch 3.1.2 -> 3.1.5 node_modules/strnum removed node_modules/uuid removed 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/aws-cdk-lib/node_modules/@aws-cdk/cloud-assembly-api added node_modules/aws-cdk-lib/node_modules/@aws/cloudformation-validate added node_modules/filelist/node_modules/balanced-match added node_modules/minimatch/node_modules/balanced-match added node_modules/minimatch/node_modules/brace-expansion added |
Author
|
Aikido's automated cron job opened a newer AutoFix. It fixes the same vulnerabilities and more: [Aikido] Fix 47 security issues in fast-xml-parser, fast-uri, brace-expansion and 6 more |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-128855929-1dnk
branch
October 1, 2026 01:17
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
✅ 43 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 across nine npm packages: fast-xml-parser, fast-uri, brace-expansion, aws-cdk-lib, yaml, minimatch, @smithy/config-resolver, ajv, and fs-extra. The fixes are applied via direct version spec bumps in the root
package.json(foraws-cdk-lib,@aws-sdk/client-secrets-manager, and@aws-sdk/credential-providers) and lockfile-only transitive updates topackage-lock.json. One instance ofbrace-expansion5.0.9 nested insideaws-cdk-lib's bundled subtree cannot be updated because it is physically bundled in theaws-cdk-libtarball and no neweraws-cdk-librelease exists that re-bundles a patched version.fast-xml-parser
Previously resolved to 4.4.1 as a transitive dependency of
@aws-sdk/core, which exact-pinned it. Bumping@aws-sdk/client-secrets-managerand@aws-sdk/credential-providersfrom^3.348.0to^3.844.0inpackage.jsoncaused npm to resolve@aws-sdk/coreto 3.978.1, which bundlesfast-xml-parser5.x (≥ 4.5.5 patched floor), eliminating the vulnerable 4.4.1 instance entirely from the lockfile.fast-uri
Previously resolved to 3.0.6 as a transitive dependency of
ajv8.17.1, itself nested insideaws-cdk-lib. Bumpingaws-cdk-libto^2.260.0caused npm to resolveaws-cdk-lib2.271.0, which bundles a newerajvandfast-uricombination that no longer includes any instance below the patched floor, removing the vulnerable instance from the lockfile entirely.brace-expansion
Three instances existed: one under root
minimatch3.1.2 (resolved 1.1.12), one underfilelist/node_modules/minimatch5.1.6 (resolved 2.0.2), and one bundled insideaws-cdk-lib/node_modules/minimatch10.2.5 (resolved 5.0.9). The first two were updated to 1.1.21 and 2.1.7 respectively vianpm update brace-expansion minimatch --package-lock-only, which also moved their parentminimatchinstances to 3.1.5 and 5.1.9. The third instance (5.0.9) is markedinBundle: truein the lockfile — it is physically shipped inside theaws-cdk-libtarball and cannot be updated by npm overrides ornpm update; no neweraws-cdk-librelease (latest is 2.271.0) re-bundles a patched version, so this instance remains at 5.0.9.aws-cdk-lib
A direct dependency in
package.json, previously declared as^2.78.0and resolved to 2.204.0. The spec was bumped to^2.260.0, resolving to 2.271.0, to address vulnerabilities inaws-cdk-libitself and to pull in patched versions of its bundled transitives (yaml,fs-extra,minimatch,brace-expansion,fast-uri,ajv8.x).yaml
Resolved to 1.10.2 as a bundled transitive inside
aws-cdk-lib2.204.0. Bumpingaws-cdk-libto 2.271.0 caused the bundledyamlto move to 1.10.3, which satisfies the patched version requirement. No direct manifest change toyamlwas needed.minimatch
Multiple instances existed: one bundled inside
aws-cdk-lib(3.1.2 → 10.2.5 via theaws-cdk-libbump), one underfilelist(5.1.6 → 5.1.9 vianpm update), and one at the root used by the eslint chain (3.1.2 → 3.1.5 vianpm update minimatch --package-lock-only). All instances now meet or exceed the patched version floor.@smithy/config-resolver
Previously resolved to 4.1.4 as a transitive dependency of
@aws-sdk/client-secrets-manager3.840.0, which declared it as^4.1.4. Bumping@aws-sdk/client-secrets-managerto^3.844.0inpackage.jsonresolved the SDK to 3.1141.0, which pulls in@smithy/config-resolver≥ 4.4.0; the vulnerable 4.1.4 instance is no longer present in the lockfile.ajv
Two instances existed:
ajv6.12.6 (dev, under the eslint chain) andajv8.17.1 (bundled insideaws-cdk-lib). The 6.x instance was updated to 6.15.0 vianpm update ajv --package-lock-only. The 8.x instance was resolved by bumpingaws-cdk-libto 2.271.0, which bundles a newerajv8.x meeting the patched floor; the vulnerable 8.17.1 instance no longer appears in the lockfile.fs-extra
Previously resolved to 11.3.0 as a bundled transitive inside
aws-cdk-lib2.204.0. Bumpingaws-cdk-libto 2.271.0 caused the bundledfs-extrato move to 11.3.6, satisfying the patched version requirement. No direct manifest change tofs-extrawas needed.Version changes
aws-cdk-lib^2.78.0→ 2.204.0^2.260.0→ 2.271.0@aws-sdk/client-secrets-manager^3.348.0→ 3.840.0^3.844.0→ 3.1141.0@aws-sdk/credential-providers^3.348.0→ 3.840.0^3.844.0→ 3.1141.0@aws-sdk/corefast-xml-parserfast-uriyaml(aws-cdk-lib bundle)fs-extra(aws-cdk-lib bundle)minimatch(aws-cdk-lib bundle)brace-expansion(aws-cdk-lib bundle)ajv(aws-cdk-lib bundle)@smithy/config-resolverminimatch(root/eslint)brace-expansion(root, under minimatch 3.x)npm updateminimatch(filelist)brace-expansion(filelist, under minimatch 5.x)npm updateajv(root/eslint)npm update