VDB
Sign up
HIGH7.5

GHSA-9cv5-4wqv-9w94

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

Quick fix

GHSA-9cv5-4wqv-9w94 — muhammara: upgrade to the fixed version with the command below.

npm install muhammara@2.6.1

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

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/muhammara
Introduced in: 0Fixed in: 2.6.1
Fixnpm install muhammara@2.6.1
npm/muhammara
Introduced in: 3.0.0Fixed in: 3.1.1
Fixnpm install muhammara@3.1.1
npm/hummus
Introduced in: 0Fixed in: 1.0.111
Fixnpm install hummus@1.0.111

References