node-pg-migrate@2.6.0 vulnerabilities

PostgreSQL database migration management tool for node.js

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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