CVE-2022-39381
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.
How to fix
- pdfhummus hummusjs1.0.111 or later
- muhammara2.6.0 or later
- hummus1.0.111 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pdfhummus hummusjs | v < 1.0.111 | 1.0.111 |
| muhammarajs_project muhammarajs | v ≤ 2.6.0 | — |
| muhammaranpm | v < 2.6.0 | 2.6.0 |
| hummusnpm | v < 1.0.111 | 1.0.111 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.