compromise@7.0.12 vulnerabilities

modest natural language processing

Direct Vulnerabilities

Known vulnerabilities in the compromise 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)

compromise is a ural-language processing package in javascript.

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 55K characters long.

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

Update compromise to version 11.5.1 or higher.

<11.5.1