cron-parserに認証不要でメモリを使い切られる脆弱性
Summary
cron-parserは、CronExpressionParser.parse()でサイズの大きな cron フィールドを処理する際にメモリ割り当ての上限がなく、認証なしの攻撃者がメモリを使い果たせる脆弱性です。約1.6MBのワイルドカードを繰り返した式でV8ヒープを枯渇させ、Node.jsプロセスを停止させられるとされています。影響は5.10.0までの版で、修正版の情報は公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
cron-parserは、CronExpressionParser.parse()でサイズの大きな cron フィールドを処理する際にメモリ割り当ての上限がなく、認証なしの攻撃者がメモリを使い果たせる脆弱性です。約1.6MBのワイルドカードを繰り返した式でV8ヒープを枯渇させ、Node.jsプロセスを停止させられるとされています。影響は5.10.0までの版で、修正版の情報は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| harrisiirakcron-parser |
< 5.10.1→ 5.10.1 |
5.10.1 |
Original description The description as published by the source.
Cron-parser before 5.10.1 contains an unbounded memory allocation vulnerability in CronExpressionParser.parse() that allows unauthenticated attackers to exhaust memory by supplying oversized cron fields. Attackers can submit a roughly 1.6 MB expression of repeated wildcard tokens that expand into huge arrays, exhausting the V8 heap and crashing the Node.js process.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web registry.npmjs.org