#VU67975 Template injection in cron-utils - CVE-2021-41269
Published: October 6, 2022
cron-utils
jmrozanec
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation when validating untrusted Cron expressions in @Cron annotation. A remote attacker can send a specially crafted request to the application and execute arbitrary Java code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
External links
- https://github.com/jmrozanec/cron-utils/issues/461
- https://github.com/jmrozanec/cron-utils/commit/d6707503ec2f20947f79e38f861dba93b39df9da
- https://github.com/jmrozanec/cron-utils/security/advisories/GHSA-p9m8-27x8-rg87
- https://github.com/jmrozanec/cron-utils/commit/cfd2880f80e62ea74b92fa83474c2aabdb9899da