Vulnerability · Published Mar 9, 2021 · Assigned by snyk
CVE-2021-23353Regular Expression Denial of Service (ReDoS)
Medium 5.9
In plain English
A medium-severity security flaw in jspdf. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)2.6%top 14.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | jspdf | 2.3.1 | GHSA-57f3-gghm-9mhc |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-JSPDF-1073626 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1083286 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1083287 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-1083288 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1083289 x_refsource_MISC
- https://github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e x_refsource_MISC
- https://github.com/MrRio/jsPDF/pull/3091 x_refsource_MISC