node-pg-migrate@2.7.1 vulnerabilities

PostgreSQL database migration management tool for node.js

  • latest version

    7.8.0

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the node-pg-migrate package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

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

    node-pg-migrate is a Node.js database migration management built exclusively for postgres.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. It used a regular expression (.+\(.*\)) in order to generate a coulumn of strings. This can cause an impact of about 10 seconds matching time for data 3K characters long.

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

    Upgrade node-pg-migrate to version 2.23.0 or higher.

    <2.23.0