CRITICAL 10.0

CVE-2021-41269

Critical vulnerability found in cron-utils

Description

Impact

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.

Patches

The issue was patched and a new version was released. Please upgrade to version 9.1.6.

Workarounds

There are no known workarounds up to this moment.

References

A description of the issue is provided in issue 461

For more information

If you have any questions or comments about this advisory:

Open an issue in the cron-utils Github repository

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.cronutils » cron-utils
< 9.1.6
9.1.6

Blast radius

1affected artifacts
57affected versions
659dependent artifacts (est.)
39,884dependent versions

26% of the dependent artifacts (175) still pull an affected version in their latest release.

DepthDependent versions
Direct
4,101
2 hops
12,323
3 hops
11,017
4 hops
7,855
5 hops
3,405
6 hops
1,183

Most used dependents

Computed from the dependency graph of build 20261129.0021 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.