You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing latest jest version introduces high vulnerability (8.7) CVE-2024-21538
Expected behavior
Vulnerability score from high to below high threshold
Actual behavior
Vulnerability scan not passing in the CICD pipeline.
Additional context
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.
Version
29.7.0
Steps to reproduce
Installing latest jest version introduces high vulnerability (8.7) CVE-2024-21538
Expected behavior
Vulnerability score from high to below high threshold
Actual behavior
Vulnerability scan not passing in the CICD pipeline.
Additional context
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.
npm list cross-spawn:
└─┬ [email protected]
└─┬ @jest/[email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
Environment
The text was updated successfully, but these errors were encountered: