Advisory

GHSA-2r7v-cmch-5x26

Also known as: CVE-2022-41957

Summary

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

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-12-05 17:37 UTC
Modified
2023-11-08 04:10 UTC

Affected packages and fixes

hummus

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

muhammara

npm · All systems

Affected

  • introduced 3.0.0, fixed 3.4.0 (semver)

Fixed versions

3.4.0

Fix

muhammara

npm · All systems

Affected

  • introduced 0, fixed 2.6.2 (semver)

Fixed versions

2.6.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences