CVE-2020-26238
Cron-utils Project Cron-utils vulnerability
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 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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/jmrozanec/cron-utils/commit/4cf373f7352f5d95f0bf6512af8af326b31c835e · Patch
- github.com/jmrozanec/cron-utils/issues/461 · Exploit
- github.com/jmrozanec/cron-utils/security/advisories/GHSA-pfj3-56hm-jwq5 · Exploit
- lists.apache.org/thread.html/r390bb7630b7ea8f02bf7adbbe69c0ae8b562c527d663c543d965f959%40%
- lists.apache.org/thread.html/r432a69a1a85cbcb1f1bad2aa0fbfce0367bf894bf917f6ed7118e7f0%40%
- lists.apache.org/thread.html/r50e1b5544c37e408ed7e9a958b28237b1cb9660ba2b3dba46f343e23%40%
- lists.apache.org/thread.html/r5f601d15292e3302ad0ae0e89527029546945b1cd5837af7e838d354%40%
- lists.apache.org/thread.html/r71083c759dc627f198571b3d48b6745fe798b1d53c34f7ef8de9e7dd%40%
- nvd.nist.gov/vuln/detail/CVE-2020-26238
- cve.org/CVERecord?id=CVE-2020-26238
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.