[Aikido] Fix 13 security issues in brace-expansion, ansi-regex, minimatch - #90
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 diff |
Author
|
Aikido's automated cron job opened a newer AutoFix. It fixes the same vulnerabilities and more: [Aikido] Fix 15 security issues in brace-expansion, ansi-regex, minimatch |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-85695852-reut
branch
September 17, 2026 01:10
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 brace-expansion, ansi-regex, and minimatch to fix memory exhaustion DoS and ReDoS vulnerabilities.
✅ No breaking changes for: brace-expansion, ansi-regex
✅ 13 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
*()and+()) generate regexps with catastrophic backtracking, causing severe ReDoS denial-of-service attacks with minimal input patterns triggering multi-second hangs.🤖 Remediation details
Fix transitive security vulnerabilities in
brace-expansion,minimatch, andansi-regexShort summary
This PR remediates security vulnerabilities in three transitive dependencies —
brace-expansion,minimatch, andansi-regex— all resolved exclusively indocs/package-lock.json. None of the three packages appear as direct dependencies indocs/package.json, so no manifest edits were required; all fixes are lockfile-only, achieved by runningnpm updateagainst the immediate parent packages to allow npm to resolve patched versions within already-declared semver ranges.brace-expansion
brace-expansionis pulled in transitively byminimatch, which declares it as^1.1.7. The lockfile had pinnedbrace-expansionat1.1.11, which is vulnerable. Becauseminimatch's declared range already permits1.1.18, runningnpm update minimatch --package-lock-onlywas sufficient to allow npm to resolvebrace-expansionto1.1.18— the patched floor that addresses all applicable advisories — without any manifest change.minimatch
minimatchis pulled in transitively byglob, which declares it as^3.0.4. The lockfile had pinnedminimatchat3.0.4, which is vulnerable. Becauseglob's declared range already permits3.1.4+, runningnpm update glob --package-lock-onlywas sufficient to allow npm to resolveminimatchto3.1.5, satisfying the patched version requirement without any manifest change.ansi-regex
ansi-regexis pulled in transitively bystrip-ansi, which declares it as^4.1.0. The lockfile had pinnedansi-regexat4.1.0, which is vulnerable. Becausestrip-ansi's declared range already permits4.1.1, runningnpm update strip-ansi --package-lock-onlywas sufficient to allow npm to resolveansi-regexto4.1.1— the patched version — without any manifest change.Version changes
brace-expansion1.1.111.1.18minimatchminimatch3.0.43.1.5globglob7.1.67.2.3minimatchto resolve to patched versionansi-regex4.1.04.1.1strip-ansi