GitHub Advisoryadvisory · npm
GHSA-57f3-gghm-9mhc jspdf vulnerable to Regular Expression Denial of Service (ReDoS)
HIGH
Official page ↗
- Aliases
- CVE-2021-23353
- Ecosystem
- npm
- Packages
- jspdf
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2021-03-12
Affected packages
• npm jspdf: < 2.3.1 → fixed in 2.3.1
Description
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
Related
Alias · CVE (1)
- CVE-2021-23353 This affects the package jspdf before 2.3.1. vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23353 advisory
- https://github.com/MrRio/jsPDF/pull/3091 web
- https://github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1083289 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1083287 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-1083288 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1083286 web
- https://snyk.io/vuln/SNYK-JS-JSPDF-1073626 web