muhammara vulnerable to Unchecked Return Value to NULL Pointer Dereference
julianhille MuhammaraJS
julianhille MuhammaraJS
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.
From the CVE record · GitHub_M
Affected muhammara and hummus packages can be forced into a denial of service when they parse a maliciously crafted PDF. An attacker must supply a PDF that the application processes; the input does not specify whether authentication is required.
Check applications using npm muhammara versions below 2.6.2 or from 3.0.0 to before 3.4.0, or any version of npm hummus.