Advisory

GHSA-9cv5-4wqv-9w94

Also known as: CVE-2022-25892

Summary

muhammara and hummus vulnerable to denial of service by NULL pointer dereference

Details

Impact
The package muhammara before 2.6.1, from 3.0.0 and before 3.1.1; 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.1.1 and has been backported to 2.6.1
Hummus has a patch in 1.0.111.

Workarounds
Do not process files from untrusted sources or update.

References
https://nvd.nist.gov/vuln/detail/CVE-2022-25892
https://github.com/galkahana/HummusJS/issues/463
https://github.com/julianhille/MuhammaraJS/issues/214
https://github.com/julianhille/MuhammaraJS/commit/1890fb555eaf171db79b73fdc3ea543bbd63c002
https://github.com/julianhille/MuhammaraJS/commit/90b278d09f16062d93a4160ef0a54d449d739c51
https://security.snyk.io/vuln/SNYK-JS-HUMMUS-3091138
https://security.snyk.io/vuln/SNYK-JS-MUHAMMARA-3060320

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-11-01 12:00 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

muhammara

npm · All systems

Affected

  • introduced 0, fixed 2.6.1 (semver)

Fixed versions

2.6.1

Fix

muhammara

npm · All systems

Affected

  • introduced 3.0.0, fixed 3.1.1 (semver)

Fixed versions

3.1.1

Fix

hummus

npm · All systems

Affected

  • introduced 0, fixed 1.0.111 (semver)

Fixed versions

1.0.111

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