julianhille/muhammarajs · Security
muhammara and hummus vulnerable to Unchecked Return Value to NULL Pointer Dereference
- GHSA ID
- GHSA-2r7v-cmch-5x26
- CVE ID
- CVE-2022-41957
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
Impact
The package muhammara before 2.6.2, from 3.0.0 and before 3.3.0; all versions of package hummus are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be parsed.
Patches
It has been patched in 3.4.0 and has been backported to 2.6.2 There is no patch for hummus, currently
Workarounds
Do not process files from untrusted sources or update. Replace hummus with muhammara
References
https://github.com/julianhille/MuhammaraJS/pull/235 https://github.com/julianhille/MuhammaraJS/pull/238
CWEs
- CWE-690 · Unchecked Return Value to NULL Pointer Dereference