CVE-2022-39381
Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness: CWE-690, CWE-476
Affected packages · 2
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/galkahana/HummusJS/commit/a9bf2520ab5abb69f9328906e406fbebfb36159a
- github.com https://github.com/galkahana/HummusJS/issues/293
- github.com https://github.com/julianhille/MuhammaraJS
- github.com https://github.com/julianhille/MuhammaraJS/issues/191
- github.com https://github.com/julianhille/MuhammaraJS/pull/194
- github.com https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-39381
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.