fix(security): backport CVE-2025-69873 - wrap $data pattern in try/catch#2588
Closed
hdsenevi wants to merge 1 commit intoajv-validator:v6from
Closed
fix(security): backport CVE-2025-69873 - wrap $data pattern in try/catch#2588hdsenevi wants to merge 1 commit intoajv-validator:v6from
hdsenevi wants to merge 1 commit intoajv-validator:v6from
Conversation
When pattern comes from $data, wrap RegExp creation and .test() in try/catch so invalid or throwing patterns fail validation instead of throwing. Aligns with the fix in v8 (lib/vocabularies/validation/pattern.ts).
1 task
Chenky100
approved these changes
Feb 18, 2026
subhadipmikmak
approved these changes
Feb 18, 2026
This was referenced Feb 20, 2026
1 task
|
Is there an estimated timeline to get this merged and a new 6.x release cut or anything we can do to help get this moving along? |
2 tasks
Member
|
sorry, missed it, fix merged now. Thank you! |
Member
|
it's in 6.14.0 |
|
Thanks @epoberezkin ! |
|
Sorry, one last question @epoberezkin - the advisories don't know the fix has been backported to v6 so it still treats 6.14.0 as vulnerable since it is < 8.18.0. Do you happen to know how to update this? |
|
@wayne530 A pull request has to be made against: https://github.com/github/advisory-database |
Closed
This was referenced Feb 27, 2026
This was referenced Mar 7, 2026
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 issue does this pull request resolve?
What changes did you make?
Is there anything that requires more attention while reviewing?
npx mocha spec/issues/cve_2025_69873_redos_attack.spec.js) to confirm.