Description
Muhammara is a node module with c/cpp bindings to modify PDF with JavaScript for node or electron. The package muhammara before 2.6.2 and from 3.0.0 and before 3.3.0, as well as all versions of muhammara's predecessor package hummus, are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be parsed. The issue has been patched in muhammara version 3.4.0 and the fix has been backported to version 2.6.2. As a workaround, do not process files from untrusted sources. If using hummus, replace the package with muhammara.
Remediation
References
https://github.com/julianhille/MuhammaraJS/pull/235
https://github.com/julianhille/MuhammaraJS/pull/238
https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-2r7v-cmch-5x26
Related Vulnerabilities
CVE-2020-27217 Vulnerability in maven package org.eclipse.hono:hono-bom
CVE-2023-31544 Vulnerability in maven package org.opencms:opencms-core
CVE-2016-8747 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2021-21290 Vulnerability in maven package io.netty:netty-common
CVE-2021-21266 Vulnerability in maven package org.openhab.addons.bundles:org.openhab.transform.xpath