NodeJS/ajv/8.3.0
Another JSON Schema Validator
https://www.npmjs.com/package/ajv
MIT
1 Security Vulnerabilities
ajv has ReDoS when using `$data` option
- https://nvd.nist.gov/vuln/detail/CVE-2025-69873
- https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69873-ajv-ReDoS.md
- https://github.com/ajv-validator/ajv/pull/2586
- https://github.com/ajv-validator/ajv/commit/720a23fa453ffae8340e92c9b0fe886c54cfe0d5
- https://github.com/ajv-validator/ajv/releases/tag/v8.18.0
- https://github.com/advisories/GHSA-2g4f-4pwh-qvx6
- https://github.com/ajv-validator/ajv/pull/2588
- https://github.com/ajv-validator/ajv/releases/tag/v6.14.0
- https://github.com/ajv-validator/ajv/pull/2590
- https://github.com/github/advisory-database/pull/6991
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.
357 Other Versions
| Version | License | Security | Released | |
|---|---|---|---|---|
| 3.8.2 | MIT | 2 | 2016-03-02 - 15:01 | about 10 years |
| 3.8.1 | MIT | 2 | 2016-03-01 - 00:27 | about 10 years |
| 3.8.0 | MIT | 2 | 2016-02-28 - 23:08 | about 10 years |
| 3.7.2 | MIT | 2 | 2016-02-24 - 09:27 | about 10 years |
| 3.7.1 | MIT | 2 | 2016-02-21 - 13:29 | about 10 years |
| 3.7.0 | MIT | 2 | 2016-02-17 - 23:04 | about 10 years |
| 3.6.2 | MIT | 2 | 2016-02-14 - 20:43 | about 10 years |
| 3.6.1 | MIT | 2 | 2016-02-13 - 22:13 | about 10 years |
| 3.6.0 | MIT | 2 | 2016-02-13 - 21:17 | about 10 years |
| 3.5.3 | MIT | 2 | 2016-02-05 - 09:21 | about 10 years |
| 3.5.2 | MIT | 2 | 2016-02-04 - 20:03 | about 10 years |
| 3.5.1 | MIT | 2 | 2016-02-01 - 23:39 | about 10 years |
| 3.5.0 | MIT | 2 | 2016-02-01 - 18:16 | about 10 years |
| 3.4.0 | MIT | 2 | 2016-01-17 - 15:19 | about 10 years |
| 3.3.1 | MIT | 2 | 2016-01-16 - 16:15 | about 10 years |
| 3.3.0 | MIT | 2 | 2016-01-15 - 07:00 | about 10 years |
| 3.2.3 | MIT | 2 | 2016-01-14 - 21:46 | about 10 years |
| 3.2.2 | MIT | 2 | 2016-01-13 - 22:26 | about 10 years |
| 3.2.1 | MIT | 2 | 2016-01-13 - 22:19 | about 10 years |
| 3.2.0 | MIT | 2 | 2016-01-09 - 14:51 | about 10 years |
| 3.1.1 | MIT | 2 | 2016-01-04 - 22:27 | about 10 years |
| 3.1.0 | MIT | 2 | 2016-01-02 - 17:19 | about 10 years |
| 3.0.4 | MIT | 2 | 2015-12-30 - 23:06 | about 10 years |
| 3.0.3 | MIT | 2 | 2015-12-28 - 12:21 | about 10 years |
| 3.0.2 | MIT | 2 | 2015-12-27 - 22:13 | about 10 years |
| 3.0.1 | MIT | 2 | 2015-12-27 - 22:11 | about 10 years |
| 3.0.0 | MIT | 2 | 2015-12-27 - 21:47 | about 10 years |
| 2.5.0 | MIT | 2 | 2015-12-19 - 19:01 | about 10 years |
| 2.4.0 | MIT | 2 | 2015-12-12 - 21:58 | about 10 years |
| 2.3.0 | MIT | 2 | 2015-12-11 - 21:44 | over 10 years |
| 2.2.2 | MIT | 2 | 2015-12-07 - 22:08 | over 10 years |
| 2.2.1 | MIT | 2 | 2015-12-06 - 22:10 | over 10 years |
| 2.2.0 | MIT | 2 | 2015-12-05 - 21:28 | over 10 years |
| 2.1.4 | MIT | 2 | 2015-12-04 - 22:22 | over 10 years |
| 2.1.3 | MIT | 2 | 2015-11-29 - 01:45 | over 10 years |
| 2.1.2 | MIT | 2 | 2015-11-28 - 22:40 | over 10 years |
| 2.1.0 | MIT | 2 | 2015-11-28 - 15:12 | over 10 years |
| 2.0.4 | MIT | 2 | 2015-11-27 - 09:27 | over 10 years |
| 2.0.3 | MIT | 2 | 2015-11-26 - 22:57 | over 10 years |
| 2.0.2 | MIT | 2 | 2015-11-24 - 06:44 | over 10 years |
| 2.0.1 | MIT | 2 | 2015-11-22 - 02:17 | over 10 years |
| 2.0.0 | MIT | 2 | 2015-11-22 - 01:28 | over 10 years |
| 2.0.0-beta.3 | MIT | 2 | 2015-11-17 - 23:24 | over 10 years |
| 2.0.0-beta.2 | MIT | 2 | 2015-11-17 - 23:10 | over 10 years |
| 2.0.0-beta.1 | MIT | 2 | 2015-11-14 - 23:14 | over 10 years |
| 2.0.0-beta.0 | MIT | 2 | 2015-11-13 - 14:35 | over 10 years |
| 1.4.10 | MIT | 2 | 2015-11-17 - 20:40 | over 10 years |
| 1.4.9 | MIT | 2 | 2015-11-07 - 14:09 | over 10 years |
| 1.4.8 | MIT | 2 | 2015-10-25 - 22:12 | over 10 years |
| 1.4.7 | MIT | 2 | 2015-10-25 - 11:45 | over 10 years |
