CVE-2021-41269
Cron-utils Project Cron-utils vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Cron-utils. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cron-utils Project Cron-utils runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jmrozanec/cron-utils/commit/cfd2880f80e62ea74b92fa83474c2aabdb9899da · Patch
- github.com/jmrozanec/cron-utils/commit/d6707503ec2f20947f79e38f861dba93b39df9da · Patch
- github.com/jmrozanec/cron-utils/issues/461 · Exploit
- github.com/jmrozanec/cron-utils/security/advisories/GHSA-p9m8-27x8-rg87 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-41269
- cve.org/CVERecord?id=CVE-2021-41269
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.