Repository navigation
Fix ajv ReDoS vulnerability (GHSA-2g4f-4pwh-qvx6) - #124
Merged
Merged
Conversation
Bump the transitive ajv (via table) from 8.12.0 to 8.20.0, past the 8.17.1 fix for the $data-option ReDoS advisory. table already allows ajv ^8.0.1, so only the lockfile changes. npm audit now reports 0 vulnerabilities and all tests pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q6D5GUefz4ZY7NQemJhvBw
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.
What
Bumps the transitive
ajvdependency (pulled in viatable) from8.12.0to8.20.0, resolving the moderate ReDoS advisory GHSA-2g4f-4pwh-qvx6 (ajvhas ReDoS when using the$dataoption; fixed in8.17.1).tableis a runtime dependency, so thisajvshipped to consumers.How
Surgical
npm update ajv.table@6.9.0already permitsajv ^8.0.1, so no change totablewas needed — onlypackage-lock.jsonchanged (theajventry plus its new sub-depfast-uri;uri-js/punycodeare now dev-only since ajv no longer depends on them).Deliberately avoided a blanket
npm audit fix, which would churn unrelated drifted subtrees (jest, parcel-watcher, etc.) — that routine version drift is handled by Dependabot in separate PRs.Verification
npm audit→ 0 vulnerabilities__tests__/)🤖 Generated with Claude Code