org.webjars.npm:ajv@5.5.2

  • latest version

    8.20.0

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    3 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)
    • H
    Prototype Pollution

    org.webjars.npm:ajv is an Another JSON Schema Validator

    Affected versions of this package are vulnerable to Prototype Pollution. A carefully crafted JSON schema could be provided that allows execution of other code by prototype pollution. (While untrusted schemas are recommended against, the worst case of an untrusted schema should be a denial of service, not execution of code.)

    How to fix Prototype Pollution?

    Upgrade org.webjars.npm:ajv to version 6.12.3 or higher.

    [,6.12.3)