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-2021-3804 Vulnerability in npm package taro
CVE-2023-45811 Vulnerability in npm package deobfuscator
CVE-2021-21306 Vulnerability in maven package org.webjars.npm:marked
CVE-2023-30537 Vulnerability in maven package org.xwiki.platform:xwiki-platform-flamingo-theme-ui
CVE-2021-21344 Vulnerability in maven package com.thoughtworks.xstream:xstream