GHSA-p9m8-27x8-rg87

Suggest an improvement
Source
https://github.com/advisories/GHSA-p9m8-27x8-rg87
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-p9m8-27x8-rg87/GHSA-p9m8-27x8-rg87.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p9m8-27x8-rg87
Aliases
Published
2021-11-15T23:27:11Z
Modified
2023-11-08T04:06:58.038367Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Critical vulnerability found in cron-utils
Details

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

Database specific
{
    "nvd_published_at": "2021-11-15T21:15:00Z",
    "github_reviewed_at": "2021-11-15T22:23:17Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-94"
    ]
}
References

Affected packages

Maven / com.cronutils:cron-utils

Package

Name
com.cronutils:cron-utils
View open source insights on deps.dev
Purl
pkg:maven/com.cronutils/cron-utils

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.1.6

Affected versions

1.*

1.0.0
1.1.0
1.1.1
1.1.2

2.*

2.0.0

3.*

3.0.0
3.1.0
3.1.1
3.1.2
3.1.4
3.1.5
3.1.6
3.1.7

4.*

4.0.0
4.0.1
4.1.0
4.1.1
4.1.2
4.1.3

5.*

5.0.0
5.0.1
5.0.2
5.0.3
5.0.4
5.0.5

6.*

6.0.0
6.0.1
6.0.2
6.0.3
6.0.4
6.0.5
6.0.6

7.*

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.*

8.0.0
8.1.1

9.*

9.0.0
9.0.1
9.0.2
9.1.0
9.1.1
9.1.2
9.1.3
9.1.5