Unauthenticated remote code injection in cron-utils
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-94.
Summary
cron-utils is a Java library to define, parse, validate, migrate crons as well as get human readable descriptions for them. In affected versions 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. The issue was patched and a new version was released. Please upgrade to version 9.1.6. There are no known workarounds known.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jmrozanec | cron-utils | before 9.1.6 | 9.1.6 | Patch available | CNA |
| — | com.cronutils:cron-utils (Maven) | before 9.1.6 | 9.1.6 | Patch available | GHSA-p9m8-27x8-rg87 |
- cron-utils Vendorjmrozanec Affected before 9.1.6 Fixed in 9.1.6 Patch available CNA
- com.cronutils:cron-utils (Maven) Vendor— Affected before 9.1.6 Fixed in 9.1.6 Patch available GHSA-p9m8-27x8-rg87
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cron-utils_project:cron-utils:*:*:*:*:*:*:*:* | before 9.1.6 | Vulnerable | Cron-utils Project |
- cpe:2.3:a:cron-utils_project:cron-utils:*:*:*:*:*:*:*:* Versions before 9.1.6 Vulnerable ·Cron-utils Project
Remediation
- Fix · CNA cron-utils (jmrozanec) Fixed in 9.1.6
- Fix · GHSA-p9m8-27x8-rg87 com.cronutils:cron-utils (Maven) Fixed in 9.1.6 Advisory →
Red Hat 3 advisories
- RHSA-2022:6835 Released 2022-10-06 · Red Hat rating ImportantService Registry (container images) release and security update [2.3.0.GA]
- RHINT Service Registry 2.3.0 GA
- RHSA-2022:1013 Released 2022-03-22 · Red Hat rating ModerateRed Hat Integration Camel Extensions for Quarkus 2.2.1 security update
- RHINT Camel-Q 2.2.1
- RHSA-2022:0589 Released 2022-02-21 · Red Hat rating ModerateRed Hat build of Quarkus 2.2.5 release and security update
- Red Hat build of Quarkus 2.2.5
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Integration Camel Quarkus 1 | Affected | No fix yet |
| RHINT Camel-Q 2.2.1 | Fixed | RHSA-2022:1013 |
| RHINT Service Registry 2.3.0 GA | Fixed | RHSA-2022:6835 |
| Red Hat build of Quarkus 2.2.5 | Fixed | RHSA-2022:0589 |
Not affected: 1 product
- Red Hat Integration Camel K 1
Timeline
- 2026-10-02 Threatist record created from CVE-2021-41269
- 2026-10-03 Alias added: GHSA-p9m8-27x8-rg87
References
Patch 2
Advisory 2
More Cron-utils Project Cron-utils vulnerabilities
- TI-2020-16059 Critical vulnerability found in cron-utils CVSS 3.1HIGH 8.1
Sources
- CVE-2021-41269 · CVE Program
- CVE-2021-41269 · NVD
- FIRST EPSS
- GHSA-p9m8-27x8-rg87 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-41269 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences