Vulnerability Details : CVE-2022-41957
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.
Vulnerability category: Denial of service
Products affected by CVE-2022-41957
- cpe:2.3:a:muhammara_project:muhammara:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:muhammara_project:muhammara:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:hummus_project:hummus:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-41957
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 47 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-41957
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
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
|
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-41957
-
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 (Primary)
References for CVE-2022-41957
-
https://github.com/julianhille/MuhammaraJS/pull/235
Feature/finding null pointer by julianhille · Pull Request #235 · julianhille/MuhammaraJS · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/julianhille/MuhammaraJS/pull/238
Hotfix/v2.6.2 by julianhille · Pull Request #238 · julianhille/MuhammaraJS · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-2r7v-cmch-5x26
Unchecked Return Value to NULL Pointer Dereference in muhammara (and hummus) · Advisory · julianhille/MuhammaraJS · GitHubThird Party Advisory
Jump to