Skip to content

Fix ajv ReDoS vulnerability (GHSA-2g4f-4pwh-qvx6) - #124

Merged
oalders merged 1 commit into
mainfrom
fix-ajv-redos-vuln
Sep 9, 2026
Merged

oalders merged 1 commit into
mainfrom
fix-ajv-redos-vuln

Conversation

@oalders

@oalders oalders commented Sep 9, 2026

Copy link
Copy Markdown
Owner

What

Bumps the transitive ajv dependency (pulled in via table) from 8.12.0 to 8.20.0, resolving the moderate ReDoS advisory GHSA-2g4f-4pwh-qvx6 (ajv has ReDoS when using the $data option; fixed in 8.17.1).

table is a runtime dependency, so this ajv shipped to consumers.

How

Surgical npm update ajv. table@6.9.0 already permits ajv ^8.0.1, so no change to table was needed — only package-lock.json changed (the ajv entry plus its new sub-dep fast-uri; uri-js/punycode are 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
  • All 33 project tests pass (__tests__/)

🤖 Generated with Claude Code

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
@oalders
oalders merged commit 7386d1d into main Sep 9, 2026
4 checks passed
@oalders
oalders deleted the fix-ajv-redos-vuln branch September 9, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant