Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1wOW04LTI3eDgtcmc4N80XOQ

Critical vulnerability found in cron-utils

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

Permalink: https://github.com/advisories/GHSA-p9m8-27x8-rg87
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wOW04LTI3eDgtcmc4N80XOQ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 3 years ago
Updated: almost 2 years ago


CVSS Score: 10.0
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Identifiers: GHSA-p9m8-27x8-rg87, CVE-2021-41269
References: Repository: https://github.com/jmrozanec/cron-utils
Blast Radius: 29.5

Affected Packages

maven:com.cronutils:cron-utils
Dependent packages: 241
Dependent repositories: 887
Downloads:
Affected Version Ranges: < 9.1.6
Fixed in: 9.1.6
All affected versions: 1.0.0, 1.1.0, 1.1.1, 1.1.2, 2.0.0, 3.1.0, 3.1.1, 3.1.2, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.0.6, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 8.0.0, 8.1.1, 9.0.0, 9.0.1, 9.0.2, 9.1.0, 9.1.1, 9.1.2, 9.1.3, 9.1.5
All unaffected versions: 9.1.6, 9.1.7, 9.1.8, 9.2.0, 9.2.1