CVE-2022-39381
Muhammarajs Project Muhammarajs vulnerability
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.
Affected products
Muhammarajs, Hummusjs. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Muhammarajs Project Muhammarajs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/julianhille/MuhammaraJS/pull/194 · Patch
- github.com/galkahana/HummusJS/issues/293 · Exploit
- github.com/julianhille/MuhammaraJS/issues/191 · Third Party Advisory
- github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-39381
- cve.org/CVERecord?id=CVE-2022-39381
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.