Vulnerability Details : CVE-2022-39381
Potential exploit
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.
Vulnerability category: Denial of service
Products affected by CVE-2022-39381
- cpe:2.3:a:pdfhummus:hummusjs:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:muhammarajs_project:muhammarajs:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-39381
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 15 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-39381
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2022-39381
-
The product dereferences a pointer that it expects to be valid but is NULL.Assigned by: nvd@nist.gov (Primary)
-
The product does not check for an error after calling a function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2022-39381
-
https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw
Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp · Advisory · julianhille/MuhammaraJS · GitHubThird Party Advisory
-
https://github.com/julianhille/MuhammaraJS/issues/191
segmentation fault for specific file when appending to another · Issue #191 · julianhille/MuhammaraJS · GitHubIssue Tracking;Third Party Advisory
-
https://github.com/julianhille/MuhammaraJS/pull/194
Fix append pages when stream is not readable by julianhille · Pull Request #194 · julianhille/MuhammaraJS · GitHubPatch;Third Party Advisory
-
https://github.com/galkahana/HummusJS/issues/293
Hummus exception causes Node.js crashing · Issue #293 · galkahana/HummusJS · GitHubExploit;Issue Tracking;Third Party Advisory
Jump to