HIGH7.5
GHSA-xvf7-4v9q-58w6
Infinite loop in jpeg-js
Quick fix
GHSA-xvf7-4v9q-58w6 — jpeg-js: upgrade to the fixed version with the command below.
npm install jpeg-js@0.4.4Details
The package jpeg-js before 0.4.4 is vulnerable to Denial of Service (DoS) where a particular piece of input will cause the program to enter an infinite loop and never return.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25851[ADVISORY]
- https://github.com/jpeg-js/jpeg-js/issues/105[WEB]
- https://github.com/jpeg-js/jpeg-js/pull/106[WEB]
- https://github.com/jpeg-js/jpeg-js/commit/9ccd35fb5f55a6c4f1902ac5b0f270f675750c27[WEB]
- https://github.com/jpeg-js/jpeg-js[PACKAGE]
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2860295[WEB]
- https://snyk.io/vuln/SNYK-JS-JPEGJS-2859218[WEB]