Skip to content

Update dependency ajv to v8.18.0 [SECURITY]#226

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-ajv-vulnerability
Open

Update dependency ajv to v8.18.0 [SECURITY]#226
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-ajv-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 18, 2026

This PR contains the following updates:

Package Change Age Confidence
ajv (source) 8.16.08.18.0 age confidence

ajv has ReDoS when using $data option

CVE-2025-69873 / GHSA-2g4f-4pwh-qvx6

More information

Details

ajv (Another JSON Schema Validator) through version 8.17.1 is vulnerable to Regular Expression Denial of Service (ReDoS) when the $data option is enabled. The pattern keyword accepts runtime data via JSON Pointer syntax ($data reference), which is passed directly to the JavaScript RegExp() constructor without validation. An attacker can inject a malicious regex pattern (e.g., \"^(a|a)*$\") combined with crafted input to cause catastrophic backtracking. A 31-character payload causes approximately 44 seconds of CPU blocking, with each additional character doubling execution time. This enables complete denial of service with a single HTTP request against any API using ajv with $data: true for dynamic schema validation.

Severity

  • CVSS Score: 5.5 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

ajv-validator/ajv (ajv)

v8.18.0

Compare Source

What's Changed

New Contributors

Full Changelog: ajv-validator/ajv@v8.17.1...v8.18.0

v8.17.1

Compare Source

What's Changed

Full Changelog: ajv-validator/ajv@v8.17.0...v8.17.1

Plus everything in 8.17.0 which failed to release

The only functional change is to switch from uri-js (which is no longer supported), to fast-uri. This is the second attempt and the team on fast-uri have been really helpful addressing the issues we found last time.

Revert "Revert fast-uri change (#​2444)" by @​gurgunday in #​2448
fix: ignore new eslint error for @​typescript-eslint/no-extraneous-class by @​jasoniangreen in #​2455
docs: clarify behaviour of addVocabulary by @​jasoniangreen in #​2454
docs: refactor to improve legibility by @​blottn in #​2432
Fix grammatical typo in managing-schemas.md by @​wetneb in #​2305
docs: Fix broken strict-mode link by @​alexanderjsx in #​2459
feat: add test for encoded refs and bump fast-uri by @​jasoniangreen in #​2449
fix: changes for @​typescript-eslint/array-type rule by @​jasoniangreen in #​2467
fixes #​2217 - clarify custom keyword naming by @​jasoniangreen in #​2457


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from nzws as a code owner February 18, 2026 02:34
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
knzklive2-web Ready Ready Preview, Comment Apr 27, 2026 10:07pm

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Feb 18, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedajv@​8.16.0 ⏵ 8.18.099100 +210091100

View full report

@renovate renovate Bot changed the title Update dependency ajv to v8.18.0 [SECURITY] Update dependency ajv to v8.18.0 [SECURITY] - autoclosed Feb 20, 2026
@renovate renovate Bot closed this Feb 20, 2026
@renovate renovate Bot deleted the renovate/npm-ajv-vulnerability branch February 20, 2026 21:59
@renovate renovate Bot changed the title Update dependency ajv to v8.18.0 [SECURITY] - autoclosed Update dependency ajv to v8.18.0 [SECURITY] Feb 22, 2026
@renovate renovate Bot reopened this Feb 22, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch 2 times, most recently from 07620cb to 9b043fd Compare February 22, 2026 17:30
@socket-security
Copy link
Copy Markdown

socket-security Bot commented Feb 22, 2026

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@renovate renovate Bot changed the title Update dependency ajv to v8.18.0 [SECURITY] Update dependency ajv to v8.18.0 [SECURITY] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot changed the title Update dependency ajv to v8.18.0 [SECURITY] - autoclosed Update dependency ajv to v8.18.0 [SECURITY] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch 2 times, most recently from 9b043fd to d3a63c5 Compare March 30, 2026 22:04
@renovate renovate Bot changed the title Update dependency ajv to v8.18.0 [SECURITY] Update dependency ajv to v8.18.0 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update dependency ajv to v8.18.0 [SECURITY] - autoclosed Update dependency ajv to v8.18.0 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch 2 times, most recently from d3a63c5 to 72720a3 Compare April 27, 2026 22:05
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.

0 participants