Description
probe-image-size before 7.5.0 contains an unbounded memory buffering vulnerability in parseExif in lib/parse_stream/webp.js that allows remote attackers to exhaust memory via an attacker-declared EXIF chunk length. Attackers can supply a WebP stream or URL to probe(url) or probe(stream) declaring a huge EXIF length after VP8X, causing unbounded buffering and process memory exhaustion.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
nodeca probe-image-size
Default version status: unaffected
0 to < 7.5.0affected
pkg:npm/probe-image-sizeReferences
- https://github.com/nodeca/probe-image-size/security/advisories/GHSA-5v8x-rm7w-m4c7 ↗
- https://github.com/nodeca/probe-image-size/commit/d91678eaff2aad93f7b05bc5212b75856164ec7a ↗
- https://github.com/nodeca/probe-image-size/blob/64565c3c8b4b69655426cdfce250e6a93455c9da/lib/parse_stream/webp.js#L91-L92 ↗
- https://www.npmjs.com/package/probe-image-size/v/7.5.0 ↗
- https://www.vulncheck.com/advisories/probe-image-size-before-7.5.0-memory-exhaustion-via-webp-exif-chunk-length ↗