Regular Expression Denial of Service (ReDoS) in cross-spawn
        
  High severity
        
          GitHub Reviewed
      
        Published
          Nov 8, 2024 
          to the GitHub Advisory Database
          •
          Updated May 19, 2025 
      
  
Description
        Published by the National Vulnerability Database
      Nov 8, 2024 
    
  
        Published to the GitHub Advisory Database
      Nov 8, 2024 
    
  
        Reviewed
      Nov 15, 2024 
    
  
        Last updated
      May 19, 2025 
    
  
Versions of the package cross-spawn before 7.0.5 are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper input sanitization. An attacker can increase the CPU usage and crash the program by crafting a very large and well crafted string.
References