org.webjars.npm:ajv@8.12.0

  • latest version

    8.18.0

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm: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)

    org.webjars.npm: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 org.webjars.npm:ajv to version 8.18.0 or higher.

    [,8.18.0)