Description
Muhammara is a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs). The package muhammara before 2.6.0; all versions of package hummus are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another. This issue has been patched in 2.6.0 for muhammara and not at all for hummus. As a workaround, do not process files from untrusted sources.
Remediation
References
https://github.com/galkahana/HummusJS/issues/293
https://github.com/julianhille/MuhammaraJS/issues/191
https://github.com/julianhille/MuhammaraJS/pull/194
https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw
Related Vulnerabilities
CVE-2017-16185 Vulnerability in npm package uekw1511server
CVE-2021-25915 Vulnerability in npm package changeset
CVE-2019-13127 Vulnerability in maven package org.webjars.bowergithub.jgraph:mxgraph
CVE-2020-7725 Vulnerability in npm package worksmith
CVE-2022-27820 Vulnerability in maven package org.zaproxy:zap