citeproc@2.1.182 vulnerabilities

The citeproc-js citation formatting module, in CommonJS format. This version is based on citeproc-js 1.4.63

Direct Vulnerabilities

Known vulnerabilities in the citeproc 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
  • H
Regular Expression Denial of Service (ReDoS)

citeproc citation formatting module, in common-js format.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. It used a regular expression (^[0-9]{4}(?:-[0-9]{1,2}(?:-[0-9]{1,2})*)*$) in order to match dates. This can cause an impact of about 10 seconds matching time for data 60 characters long.

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

Upgrade citeproc to version 2.1.184 or higher.

<2.1.184