Skip to main content

Missing Release of Memory after Effective Lifetime in cypress

Cx10578cb2-c0fc

  • cypress
Severity High
Score 7.5/10

Summary

The Cypress package in versions prior to 10.3.0 contains a memory leak in the "CdpAutomation" class that stores Data URLs as requests in the "pendingBrowserPreRequests" array unnecessarily. The storage of the Data URLs will eventually lead to the crash of Cypress which may cause a Denial of Service.

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

CWE-401 - Missing release of memory after effective lifetime (memory leak)

'Missing release of memory after effective lifetime (memory leak)' is a weakness that occurs when software doesn't effectively release allocated memory after it is used. If not addressed, this enables attackers to launch denial of service attacks (by crashing or hanging the program) or take advantage of other unexpected behavior resulting from low memory conditions.

Advisory Timeline

  • Published