Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hummus
  4. ›
  5. CVE-2022-41957

CVE-2022-41957: Unchecked Return Value to NULL Pointer Dereference

November 28, 2022 (updated December 1, 2022)

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, is 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.

References

  • github.com/julianhille/MuhammaraJS/pull/235
  • github.com/julianhille/MuhammaraJS/pull/238
  • github.com/julianhille/MuhammaraJS/security/advisories/GHSA-2r7v-cmch-5x26
  • nvd.nist.gov/vuln/detail/CVE-2022-41957

Code Behaviors & Features

Detect and mitigate CVE-2022-41957 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions

Solution

Unfortunately, there is no solution available use muhammara instead.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-690: Unchecked Return Value to NULL Pointer Dereference

Source file

npm/hummus/CVE-2022-41957.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.