新着 / 2026年11月26日 / CVE-2026-137058
cron-parser にメモリ過剰消費の脆弱性(サービス停止のおそれ)
掲載
何が問題か
cron-parser の5.10.0までのバージョンでは、CronExpressionParser.parse()がメモリ割り当ての上限を設けておらず、過大なcronフィールドを処理する際にメモリを使い果たす問題があります。認証なしで送信できる約1.6MBの繰り返しワイルドカード式により、大きな配列が展開され、Node.jsプロセスがクラッシュする可能性が説明されています。修正版の情報は公表されていません。
悪用されると
悪用されると、攻撃者が認証なしで送った式によりメモリが枯渇し、Node.jsプロセスが停止する可能性があります。CVSS v4.0の基本スコアは8.7(HIGH)で、影響は可用性(VA:H)に限られるとされています。実際の悪用が確認されたかは公表されていません。
取るべき対応
cron-parser を利用しているかをまず確認し、利用している場合は修正版の公開状況をベンダーや公式情報で確認してください。外部から受け取るcron式は長さの上限を設けて検証することを検討してください。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v4.0) | 重要 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 問題の種類 | CWE-770 |
| CVE公開日 | 2026-11-25 |
出典
- NVD: CVE-2026-137058
- https://github.com/harrisiirak/cron-parser/blob/v5.10.0/src/CronExpressionParser.ts#L399-L428
- https://github.com/harrisiirak/cron-parser/commit/95bac55c58b88d1b40b25ce637d983fb59645a14
- https://github.com/harrisiirak/cron-parser/pull/450
- https://github.com/harrisiirak/cron-parser/releases/tag/v5.10.1
- https://github.com/harrisiirak/cron-parser/security/advisories/GHSA-r9w7-75q6-r884
- https://www.vulncheck.com/advisories/cron-parser-through-5.10.0-unbounded-memory-allocation-via-cronexpressionparser-parse
公式の説明(英語の原文)
Cron-parser through 5.10.0 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.