cron-parser is vulnerable to Denial of Service (DoS)
53
Medium Risk
CronExpressionParser.parse() expands a cron field containing a repeated wildcard list token (*,*,*,...) into one array element per repetition, with no cap on field length. A crafted expression of a few hundred kilobytes allocates tens of millions of elements in one synchronous call, exhausting the Node.js heap and aborting the process. Any caller that parses a cron expression from an untrusted submitter, such as a user supplied schedule string, can trigger this crash. The fix caps field expansion at 256 values and rejects expressions that exceed it.
You are affected if you are using a version that falls within the vulnerable range.
cron-parser is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 5.10.0.
Upgrade the cron-parser library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.