CVE-2022-41957 muhammara vulnerable to Unchecked Return Value to NULL Pointer Dereference
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
5 packages: 2 fixed, 1 partially fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hummus project hummus | All versions | No fix listed | No fix yet |
| npm hummus(npm) | < 2.6.2; All versions | 2.6.2 | Partially fixed |
| muhammara project muhammara | < 2.6.2; >= 3.0.0, < 3.3.0 | 2.6.2, 3.3.0 | Fixed |
| npm muhammara(npm) | < 2.6.2; >= 3.0.0, < 3.4.0 | 2.6.2, 3.4.0 | Fixed |
| julianhille MuhammaraJS | = < 2.6.2; = >= 3.0.0, < 3.4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm hummus(npm) | < 2.6.2 | 2.6.2 |
| npm muhammara(npm) | >= 3.0.0, < 3.4.0 | 3.4.0 |
| npm muhammara(npm) | < 2.6.2 | 2.6.2 |
| julianhille MuhammaraJS | = < 2.6.2 | No fix listed |
| julianhille MuhammaraJS | = >= 3.0.0, < 3.4.0 | No fix listed |
| muhammara project muhammara | < 2.6.2 | 2.6.2 |
| muhammara project muhammara | >= 3.0.0, < 3.3.0 | 3.3.0 |
| hummus project hummus | All versions | No fix listed |
| npm hummus(npm) | All versions | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com
- github.com product