Description
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
Remediation
References
https://github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1083289
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1083286
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1083287
https://snyk.io/vuln/SNYK-JS-JSPDF-1073626
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-1083288
https://github.com/MrRio/jsPDF/pull/3091
Related Vulnerabilities
CVE-2022-24760 Vulnerability in npm package parse-server
CVE-2021-31812 Vulnerability in maven package org.apache.pdfbox:pdfbox
CVE-2021-27578 Vulnerability in maven package org.apache.zeppelin:zeppelin
CVE-2020-7709 Vulnerability in npm package json-pointer
CVE-2022-29237 Vulnerability in maven package org.opencastproject:opencast-ingest-service-impl