CVE-2022-39381 Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp
MediumCVSS 5.5
EPSS 0.89%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
5 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| muhammarajs project muhammarajs | <= 2.6.0 | after 2.6.0 | Fixed |
| npm hummus(npm) | < 1.0.111 | 1.0.111 | Fixed |
| npm muhammara(npm) | < 2.6.0 | 2.6.0 | Fixed |
| pdfhummus hummusjs | < 1.0.111 | 1.0.111 | Fixed |
| julianhille MuhammaraJS | = < 2.6.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm muhammara(npm) | < 2.6.0 | 2.6.0 |
| npm hummus(npm) | < 1.0.111 | 1.0.111 |
| julianhille MuhammaraJS | = < 2.6.0 | No fix listed |
| muhammarajs project muhammarajs | <= 2.6.0 | No fix listed |
| pdfhummus hummusjs | < 1.0.111 | 1.0.111 |
References
- github.com third-party-advisory vendor-advisory
- github.com exploit issue-tracking third-party-advisory
- github.com issue-tracking third-party-advisory
- github.com patch third-party-advisory
- github.com patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product