CVE-2022-24816KEV · OVERDUECWE-94

Improper Control of Generation of Code in jai-ext

Critical · published April 13, 2022

Patch now

Confirmed exploited, and the score agrees

CVSS calls it critical at 10.0. It is confirmed in active exploitation. It sits in the 100.0th percentile for exploit probability.

829
days past CISA
deadline
CVSS v3.1
10.0
EPSS
100%
Percentile
100.0
In the wild
Confirmed
What it is

🚨 A careless network request could unleash a tidal wave of chaos! The JAI-EXT project lets attackers execute remote code via Jiffle scripts—just like handing a stranger the keys to your house! 🔥 Think of it like a restaurant that lets customers send in their own secret recipes via email. If the chef blindly prepares the dish without checking for dangerous ingredients, it could trigger a culinary catastrophe! In this case, an attacker could send a malicious script that gets compiled into Java code and executed on the server. This means they could manipulate the system, steal data, or even take complete control. The consequences could be absolutely devastating!

Put simply

Think of it like a restaurant that lets customers send in their own secret recipes via email. If the chef blindly prepares the dish without checking for dangerous ingredients, it could trigger a culinary catastrophe! This vulnerability arises because Jiffle scripts can be injected through network requests, allowing attackers to exploit the Janino compiler in JAI-EXT, leading to remote code execution.

What to do

In this case, an attacker could send a malicious script that gets compiled into Java code and executed on the server. This means they could manipulate the system, steal data, or even take complete control. The consequences could be absolutely devastating! To safeguard your system, upgrade to JAI-EXT version 1.2.22, which patches this vulnerability. If you can't upgrade, consider removing the janino-x.y.z.jar from your classpath to prevent script compilation altogether. Don't wait! You've got this! Follow these steps to lock down your system and keep those pesky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.99911 · 100.0th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2022-04-13T20:45Z
KEV added
2024-06-26 · due 2024-07-17
EPSS history
Timeline
  • 26 JUN 00:00Z
    Added to CISA KEV — remediate by Jul 17
    kev
  • 13 APR 20:45Z
    Improper Control of Generation of Code in jai-ext
    cvelistv5