ajv@6.12.6 vulnerabilities

Another JSON Schema Validator

  • latest version

    8.18.0

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the ajv package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Regular Expression Denial of Service (ReDoS)

    ajv is an Another JSON Schema Validator

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper validation of the pattern keyword when combined with $data references. An attacker can cause the application to become unresponsive and exhaust CPU resources by submitting a specially crafted regular expression payload.

    Note:

    This is only exploitable if the $data option is enabled.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade ajv to version 6.14.0, 8.18.0 or higher.

    <6.14.0>=7.0.0-alpha.0 <8.18.0