mongoose-beautiful-unique-validation@0.2.0 vulnerabilities

Plugin for Mongoose that turns duplicate errors into regular Mongoose validation errors

  • latest version

    7.1.1

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    7 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the mongoose-beautiful-unique-validation 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
    • M
    Regular Expression Denial of Service (ReDoS)

    mongoose-beautiful-unique-validation is a plugin for Mongoose that turns duplicate errors into regular Mongoose validation errors.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. This can cause an impact of about 10 seconds matching time for data 1K characters long.

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

    Update mongoose-beautiful-unique-validation to version 7.1.1 or higher.

    <7.1.1