VDB
Sign up
MEDIUM5.5

GHSA-w7q9-p3jq-fmhm

Uncontrolled resource consumption in jpeg-js

Quick fix

GHSA-w7q9-p3jq-fmhm — jpeg-js: upgrade to the fixed version with the command below.

npm install jpeg-js@0.4.0

Details

Uncontrolled resource consumption in `jpeg-js` before 0.4.0 may allow attacker to launch denial of service attacks using specially a crafted JPEG image.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/jpeg-js
Introduced in: 0Fixed in: 0.4.0
Fixnpm install jpeg-js@0.4.0

References