CVE-2020-26238: Template injection in cron-utils
7.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.91637%
CWE
Published
11/24/2020
Updated
2/1/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.cronutils:cron-utils | maven | < 9.1.3 | 9.1.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from using Hibernate Validator
(v5.3.6.Final) for @Cron annotation validation, which processes Java EL expressions. The commit 4cf373f replaced Hibernate
with BVal
specifically to avoid EL evaluation. The vulnerable function
would be the validator()
implementation handling cron expression validation before this change, as it didn't sanitize EL expressions in user-provided cron patterns.