Skip to content

fix(deps): update dependency ajv to ~8.18.0 [security]#32

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

fix(deps): update dependency ajv to ~8.18.0 [security]#32
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-ajv-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Feb 22, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
ajv (source) ~8.5.0~8.18.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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

v8.16.0

Compare Source

What's Changed

Full Changelog: ajv-validator/ajv@v8.15.0...v8.16.0

v8.15.0

Compare Source

What's Changed

New Contributors

Full Changelog: ajv-validator/ajv@v8.14.0...v8.15.0

v8.14.0

Compare Source

What's Changed
New Contributors

Full Changelog: ajv-validator/ajv@v8.13.0...v8.14.0

v8.13.0

Compare Source

  • add named exports
  • update dependencies
  • update node.js

v8.12.0

Compare Source

v8.11.2

Compare Source

Update dependencies

Export ValidationError and MissingRefError (#​1840, @​dannyb648)

v8.11.1

Compare Source

Update dependencies

Export ValidationError and MissingRefError (#​1840, @​dannyb648)

v8.11.0

Compare Source

Use root schemaEnv when resolving references in oneOf (#​1901, @​asprouse)

Only use equal function in generated code when it is used (#​1922, @​bhvngt)

v8.10.0

Compare Source

uriResolver option (@​zekth, #​1862)

v8.9.0

Compare Source

Option code.esm to generate ESM exports for standalone validation functions (@​rehanvdm, #​1861)
Support discriminator keyword with $ref in oneOf subschemas (@​dfeufel, #​1815)

v8.8.2

Compare Source

Use full RegExp string (with flags) as cache key, related to ajv-validator/ajv-keywords#220

v8.8.1

Compare Source

Fix minContains: 0 (#​1819)

v8.8.0

Compare Source

Fix browser bundles in cdnjs
regExp option allowing to specify alternative RegExp engine, e.g. re2 (@​efebarlas)

v8.7.1

Compare Source

Publish Ajv bundle for JSON Schema 2020-12 to cdnjs.com

v8.7.0

Compare Source

Update JSON Schema Test Suite.
Change minContains: 0 now correctly allows empty array.

v8.6.3

Compare Source

Fix $ref resolution for schemas without $id (@​rbuckton, #​1725)
Support standalone module import from ESM modules without using .default property (@​bhvngt, #​1757)
Update code for breaking TS change - error in catch has type unknown (#​1760)

v8.6.2

Compare Source

Fix JTD serialiser (#​1691)

v8.6.1

Compare Source

Fix "not" keyword preventing validation of "allOf" and some other keywords (#​1668)

v8.6.0

Compare Source

Track evaluated properties with patternProperties that have always valid schemas (e.g., true) (@​P0lip, #​1626)
Option int32range to disable number range checking for int32 and uint32 type in JTD schemas


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 changed the title fix(deps): update dependency ajv to ~8.18.0 [security] fix(deps): update dependency ajv to ~8.18.0 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot deleted the renovate/npm-ajv-vulnerability branch March 27, 2026 01:17
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.18.0 [security] - autoclosed fix(deps): update dependency ajv to ~8.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 401824c to 5ce30bc Compare March 30, 2026 21:59
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.18.0 [security] fix(deps): update dependency ajv to ~8.18.0 [security] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.18.0 [security] - autoclosed fix(deps): update dependency ajv to ~8.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 5ce30bc to dc28db2 Compare April 27, 2026 23:48
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.18.0 [security] fix(deps): update dependency ajv to ~8.20.0 [security] Apr 29, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch from dc28db2 to 44deb76 Compare April 29, 2026 16:02
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.20.0 [security] fix(deps): update dependency ajv to ~8.18.0 [security] Apr 29, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch from 44deb76 to f3b153a Compare April 29, 2026 21:06
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.18.0 [security] fix(deps): update dependency ajv to ~8.20.0 [security] Apr 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch from f3b153a to 7430efb Compare April 30, 2026 14:14
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.20.0 [security] fix(deps): update dependency ajv to ~8.18.0 [security] Apr 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch from 7430efb to 5c4c0aa Compare April 30, 2026 18:52
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch from 5c4c0aa to 5a0acc4 Compare May 12, 2026 12:13
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.18.0 [security] fix(deps): update dependency ajv to ~8.20.0 [security] May 12, 2026
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.20.0 [security] fix(deps): update dependency ajv to ~8.18.0 [security] May 12, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch from 5a0acc4 to 0246117 Compare May 12, 2026 17:33
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.18.0 [security] fix(deps): update dependency ajv to ~8.20.0 [security] May 14, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch from 0246117 to e8635bc Compare May 14, 2026 17:27
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.20.0 [security] fix(deps): update dependency ajv to ~8.18.0 [security] May 14, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch from e8635bc to 9a5446c Compare May 14, 2026 22:14
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.18.0 [security] fix(deps): update dependency ajv to ~8.20.0 [security] May 18, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch 2 times, most recently from d8436c7 to 9f7e968 Compare May 18, 2026 21:10
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.20.0 [security] fix(deps): update dependency ajv to ~8.18.0 [security] May 18, 2026
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.18.0 [security] fix(deps): update dependency ajv to ~8.20.0 [security] May 22, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch 2 times, most recently from 4fedc71 to 3bfe504 Compare May 22, 2026 22:11
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.20.0 [security] fix(deps): update dependency ajv to ~8.18.0 [security] May 22, 2026
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.18.0 [security] fix(deps): update dependency ajv to ~8.20.0 [security] May 28, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch 2 times, most recently from 2f0ce62 to b35d808 Compare May 29, 2026 00:47
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.20.0 [security] fix(deps): update dependency ajv to ~8.18.0 [security] May 29, 2026
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.18.0 [security] fix(deps): update dependency ajv to ~8.20.0 [security] Jun 14, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch from b35d808 to 7a95824 Compare June 14, 2026 23:34
@renovate renovate Bot changed the title fix(deps): update dependency ajv to ~8.20.0 [security] fix(deps): update dependency ajv to ~8.18.0 [security] Jun 15, 2026
@renovate renovate Bot force-pushed the renovate/npm-ajv-vulnerability branch from 7a95824 to fc9de77 Compare June 15, 2026 00:50
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