kcve.ai취약점 정보 · 내 자산 확인

CVE-2025-69873 ajv (Another JSON Schema Validator) before 8.18.0 is vulnerable to Regular Expression Denial of Ser…

설명

ajv (Another JSON Schema Validator) before 8.18.0 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. This issue is also fixed in version 6.14.0.

영향 받는 제품 제품 1개

  • ajv.js

    ajv

    해결 버전 있음

    영향 받는 버전

    • 6.14.0 미만
    • 7.0.0 이상 8.17.2 미만

    해결 버전

    • 6.14.0 이상
    • 8.17.2 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의