probe-image-size 7.4.0 ReDoS via SVG Doctype Prolog Parser
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| nodecaprobe-image-size |
≥ 7.4.0, < 7.5.0→ 7.5.0 |
7.5.0 |
Original description The description as published by the source.
probe-image-size 7.4.0 contains a regular expression denial of service vulnerability in lib/common/svg_header.js that allows remote unauthenticated attackers to block the event loop via crafted SVG doctypes. Attackers can supply SVGs with an unclosed internal subset followed by many ']' characters to trigger quadratic backtracking in probe.sync, probe(stream) or probe(url), causing repeated event loop stalls.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web npmjs.com
- web github.com