Skip to main content

Uncontrolled Resource Consumption in diff

Cx17c4a5a4-deb7

  • diff
  • org.webjars.npm:diff
  • org.webjars.npm:github-com-kpdecker-jsdiff
Severity High
Score 7.1/10

Summary

A vulnerability was found in diff versions 2.1.0 through 3.4.0. The affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.

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

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

Advisory Timeline

  • Published