CVE-2021-41269 json
Unauthenticated remote code injection in cron-utils
published 4y ago modified 4mo ago also GHSA-p9m8-27x8-rg87 , EUVD-2021-2371
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.3%
- EPSS 4.3% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
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.
Patch / fix
- maven com.cronutils:cron-utils 9.1.6
- cron-utils_project cron-utils 9.1.6
Is CVE-2021-41269 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-41269 updated cvss 9.8
cron-utils: template Injection leading to unauthenticated Remote Code Execution
-
Red Hat Integration Camel Quarkus 1 cron-utilsaffected: no fix available
-
Red Hat build of Quarkus 2.2.5fixed: vendor fix RHSA-2022:0589
-
Red Hat RHINT Camel-Q 2.2.1fixed: vendor fix RHSA-2022:1013
-
Red Hat RHINT Service Registry 2.3.0 GAfixed: vendor fix RHSA-2022:6835
-
Red Hat Integration Camel K 1 cron-utilsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.35% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/jmrozanec/cron-utils/issues/461 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.cronutils:cron-utils | <9.1.6 |
9.1.6 |
Affected products
- jmrozanec cron-utils
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/jmrozanec/cron-utils/commit/cfd2880f80e62ea74b92fa83474c2aabdb9899da
web, patch, third-party-advisory
-
github.com
/jmrozanec/cron-utils/commit/d6707503ec2f20947f79e38f861dba93b39df9da
web, patch, third-party-advisory
-
github.com
/jmrozanec/cron-utils/issues/461
web, exploit, issue-tracking, third-party-advisory
-
github.com
/jmrozanec/cron-utils/security/advisories/GHSA-p9m8-27x8-rg87
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-41269
advisory
-
github.com
/jmrozanec/cron-utils
package
Sources
- CVE List CVE-2021-41269
- GitHub Advisory GHSA-p9m8-27x8-rg87
- NVD CVE-2021-41269
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.