HIGH 7.5 npm

muhammara and hummus vulnerable to Unchecked Return Value to NULL Pointer Dereference

GHSA-2r7v-cmch-5x26 · CVE-2022-41957

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes