Arbitrary Code Execution Affecting com.cronutils:cron-utils package, versions [,9.1.6)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    3.03% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-COMCRONUTILS-1921097
  • published 16 Nov 2021
  • disclosed 15 Nov 2021
  • credit Unknown

How to fix?

Upgrade com.cronutils:cron-utils to version 9.1.6 or higher.

Overview

com.cronutils:cron-utils is a Java library to parse, migrate and validate crons as well as describe them in human readable language.

Affected versions of this package are vulnerable to Arbitrary Code Execution via Template Injection that enables attackers to inject arbitrary Java EL expressions, leading to unauthenticated Remote Code Execution (RCE).

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
10 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

9.8 critical