Skip to main content

Allocation of Resources Without Limits or Throttling in image-size

Cx7c1ed3d7-0e49

  • image-size
  • org.webjars.npm:image-size
Severity High
Score 7.5/10

Summary

Image-size is vulnerable to a Denial of Service (DoS) vulnerability when processing specially crafted images. The issue occurs because of an infine loop in "findBox" when processing certain images with a box with size `0`. This issue affects image-size versions 1.1.0 through 1.2.0 and 2.0.0-alpha.1 through 2.0.1.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-770 - Allocation of Resources Without Limits or Throttling

The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.

Advisory Timeline

  • Published