Repository navigation
[Aikido] Fix 48 security issues in fast-xml-parser, fast-uri, brace-expansion and 6 more - #65
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.7.0 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 -> 55.1.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.1154.0 node_modules/@aws-sdk/client-sso removed node_modules/@aws-sdk/core 3.840.0 -> 3.978.4 node_modules/@aws-sdk/credential-provider-cognito-identity 3.840.0 -> 3.972.74 node_modules/@aws-sdk/credential-provider-env 3.840.0 -> 3.972.75 node_modules/@aws-sdk/credential-provider-http 3.840.0 -> 3.972.77 node_modules/@aws-sdk/credential-provider-ini 3.840.0 -> 3.973.20 node_modules/@aws-sdk/credential-provider-node 3.840.0 -> 3.972.87 node_modules/@aws-sdk/credential-provider-process 3.840.0 -> 3.972.75 node_modules/@aws-sdk/credential-provider-sso 3.840.0 -> 3.973.19 node_modules/@aws-sdk/credential-provider-web-identity 3.840.0 -> 3.972.81 node_modules/@aws-sdk/credential-providers 3.840.0 -> 3.1154.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.49 node_modules/@aws-sdk/region-config-resolver removed node_modules/@aws-sdk/token-providers 3.840.0 -> 3.1153.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.36.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.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.274.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.12 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.4.1 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.6 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/bowser 2.11.0 -> 2.14.1 node_modules/brace-expansion 1.1.12 -> 1.1.21 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/aws-cdk-lib/node_modules/json-source-map added |
Author
|
Aikido's automated cron job opened a newer AutoFix. It fixes the same vulnerabilities and more: [Aikido] Fix 51 security issues in fast-xml-parser, fast-uri, brace-expansion and 6 more |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-154010501-mljp
branch
October 25, 2026 00:07
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, minimatch, @smithy/config-resolver, fs-extra
✅ 48 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 critical and high-severity vulnerabilities in
fast-xml-parser,fast-uri,brace-expansion,aws-cdk-lib,yaml,minimatch,@smithy/config-resolver,ajv, andfs-extraShort 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, andfs-extra. Three direct dependency version specs were raised in the rootpackage.json(aws-cdk-lib,@aws-sdk/client-secrets-manager,@aws-sdk/credential-providers), andnpm install --package-lock-onlyplusnpm update --package-lock-onlywere used to propagate all fixes intopackage-lock.json. Several vulnerable transitive packages were eliminated entirely from the resolved tree as a side-effect of the parent bumps.fast-xml-parser
fast-xml-parserwas resolved transitively via@aws-sdk/core, which was itself pulled in by the direct dependencies@aws-sdk/client-secrets-managerand@aws-sdk/credential-providers. The installed@aws-sdk/core@3.840.0pinnedfast-xml-parserto the vulnerable4.4.1. Bumping both direct@aws-sdkpackages to^3.844.0caused npm to resolve@aws-sdk/core@3.978.4, which no longer carriesfast-xml-parseras a separate package in the tree, eliminating the vulnerability entirely.fast-uri
fast-uri@3.0.6was nested underaws-cdk-lib's private copy ofajv@8.17.1. Bumpingaws-cdk-libto^2.267.0resolvedaws-cdk-lib@2.274.0, which no longer nestsajv@8.xorfast-urias separate packages, removing all vulnerable instances from the lockfile.brace-expansion
brace-expansionappeared in three locations, all as a transitive dependency ofminimatch. The root and dev instances (underminimatch@3.1.2andfilelist/minimatch@5.1.6) were stuck at vulnerable versions1.1.12and2.0.2respectively. Runningnpm update brace-expansion minimatch --package-lock-onlyresolved the root instance to1.1.21, thefilelistinstance to2.1.7, and theaws-cdk-lib-nested instance moved to5.0.12(viaminimatch@10.2.6) as a result of theaws-cdk-libparent bump — all satisfying the patched version floors.aws-cdk-lib
aws-cdk-libis a direct dependency declared as^2.78.0, which resolved to the vulnerable2.204.0. The version spec was raised to^2.267.0inpackage.json, causing npm to resolve2.274.0, which satisfies all patched version requirements for theaws-cdk-libCVEs and also carries fixed versions of several of its own transitive dependencies (yaml,fs-extra,minimatch).yaml
yamlwas pinned exactly to1.10.2byaws-cdk-lib@2.204.0as a nested private dependency. Bumpingaws-cdk-libto^2.267.0resolvedaws-cdk-lib@2.274.0, which pinsyamlto1.10.3— the minimum patched version — fixing the vulnerability without any additional lockfile manipulation.minimatch
minimatchappeared in three locations. Theaws-cdk-lib-nested instance moved from3.1.2to10.2.6as a result of theaws-cdk-libparent bump. The root dev instance (shared byeslint,glob,jake, and others) and thefilelist-nested instance were updated from3.1.2and5.1.6to3.1.5and5.1.9respectively vianpm update minimatch --package-lock-only, all satisfying the patched version floors.@smithy/config-resolver
@smithy/config-resolver@4.1.4was pulled in by multiple@aws-sdk/*packages including the direct dependencies@aws-sdk/client-secrets-managerand@aws-sdk/credential-providers. Bumping those direct dependencies to^3.844.0resolved them to3.1154.0, which no longer carries@smithy/config-resolveras a separately resolved package in the lockfile tree, eliminating the vulnerable instance.ajv
ajvappeared in two locations. Theaws-cdk-lib-nestedajv@8.17.1(undertable@6.9.0) was removed from the tree entirely whenaws-cdk-libwas bumped to2.274.0. The root dev instance at6.12.6(pulled in byeslint@8.57.1and@eslint/eslintrc@2.1.4via^6.12.4) was updated to6.15.0vianpm update ajv --package-lock-only, satisfying the patched floor of6.15.0.fs-extra
fs-extra@11.3.0was a private nested dependency ofaws-cdk-lib@2.204.0, declared as^11.3.0. Bumpingaws-cdk-libto^2.267.0resolvedaws-cdk-lib@2.274.0, which carriesfs-extra@11.4.1— above the patched floor of11.3.6— fixing the vulnerability as a side-effect of the parent bump.Version changes
aws-cdk-lib^2.78.0(resolved2.204.0)^2.267.0(resolved2.274.0)yaml,fs-extra,minimatch,fast-uri,ajv@8.xtransitives@aws-sdk/client-secrets-manager^3.348.0(resolved3.840.0)^3.844.0(resolved3.1154.0)fast-xml-parserand@smithy/config-resolvertransitives@aws-sdk/credential-providers^3.348.0(resolved3.840.0)^3.844.0(resolved3.1154.0)@aws-sdk/client-secrets-manager; parent bump forfast-xml-parserand@smithy/config-resolvertransitives@aws-sdk/core3.840.03.978.4@aws-sdk/client-secrets-manager); carries fixedfast-xml-parserfast-xml-parser4.4.1@aws-sdk/coreparent bumpfast-uri3.0.6aws-cdk-libparent bump@smithy/config-resolver4.1.4@aws-sdkparent bumpsyaml1.10.21.10.3aws-cdk-libparent bumpfs-extra11.3.011.4.1aws-cdk-libparent bumpajv(underaws-cdk-lib)8.17.1aws-cdk-libparent bumpajv(root dev)6.12.66.15.0npm update ajv)minimatch(underaws-cdk-lib)3.1.210.2.6aws-cdk-libparent bumpminimatch(root dev)3.1.23.1.5npm update minimatch)minimatch(underfilelist)5.1.65.1.9npm update minimatch)brace-expansion(root dev)1.1.121.1.21npm update brace-expansion)brace-expansion(underaws-cdk-lib)1.1.125.0.12aws-cdk-libparent bumpbrace-expansion(underfilelist)2.0.22.1.7npm update brace-expansion)