7.9high
Critical vulnerability found in cron-utils
- Severity
- 7.9high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 4.20% (higher than 91% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-pfj3-56hm-jwq5
Description
Cron-utils is a Java library to parse, validate, migrate crons as well as get human readable descriptions for them. In cron-utils before version 9.1.3, a template Injection vulnerability is present. This enables attackers to inject arbitrary Java EL expressions, leading to unauthenticated Remote Code Execution (RCE) vulnerability. Only projects using the @Cron annotation to validate untrusted Cron expressions are affected. This issue was patched in version 9.1.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jmrozanec cron-utils | < 9.1.3 | CVE List |
| com.cronutils:cron-utils (Maven) | before 9.1.3 | GitHub Advisory Database |
| cron-utils_project cron-utils | before 9.1.3 | NVD |
All scores
| GitHub_M | 7.9high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| GitHub | 7.9critical CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
Cron-utils is a Java library to parse, validate, migrate crons as well as get human readable descriptions for them. In cron-utils before version 9.1.3, a template Injection vulnerability is present. This enables attackers to inject arbitrary Java EL expressions, leading to unauthenticated Remote Code Execution (RCE) vulnerability. Only projects using the @Cron annotation to validate untrusted Cron expressions are affected. This issue was patched in version 9.1.3.
GitHub Advisory Database
Impact
A Template Injection was identified in cron-utils enabling attackers to inject arbitrary Java EL expressions, leading to unauthenticated Remote Code Execution (RCE) vulnerability. Versions up to 9.1.2 are susceptible to this vulnerability. Please note, that only projects using the @Cron annotation to validate untrusted Cron expressions are affected.
Patches
The issue was patched and a new version released. Please upgrade to version 9.1.3.
Workarounds
There are no known workarounds up to this moment.
References
A description of the issue is provided in issue 461
For more information
If you have any questions or comments about this advisory:
- Open an issue in cron-utils Github repository
NVD (es)
Cron-utils es una biblioteca de Java para analizar, comprobar, migrar crons y obtener descripciones legibles por humanos para ellos. En cron-utils versiones anteriores a 9.1.3, se presenta una vulnerabilidad de inyección de plantilla. Esto permite a atacantes inyectar expresiones EL de Java arbitrarias, conllevando a una vulnerabilidad de Ejecución de Código Remota (RCE) no autenticada. Solo están afectados los proyectos que usan la anotación @Cron para comprobar expresiones Cron que no son confiables. Este problema se corrigió en la versión 9.1.3
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26238 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pfj3-56hm-jwq5 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2020-26238 changed 2026-06-17 | Public domain |