CVE-2022-24816
Improper Control of Generation of Code in jai-ext
- Critical 10.0
- Exploited: added to CISA KEV 26 Jun 2024
Description
JAI-EXT is an open-source project which aims to extend the Java Advanced Imaging (JAI) API. Programs allowing Jiffle script to be provided via network request can lead to a Remote Code Execution as the Jiffle script is compiled into Java code via Janino, and executed. In particular, this affects the downstream GeoServer project. Version 1.2.22 will contain a patch that disables the ability to inject malicious code into the resulting script. Users unable to upgrade may negate the ability to compile Jiffle scripts from the final application, by removing janino-x.y.z.jar from the classpath.
Key facts
- Published
- 13 Apr 2022
- Last changed
- 21 Oct 2025
- Assigned by
- GitHub_M
- KEV added
- 26 Jun 2024
- KEV fix due
- 17 Jul 2024
- EPSS
- 99.929% likely to be exploited in the next 30 days, higher than 99.97% of CVEs (scores for 15 Nov 2026)
- SSVC (CISA)
- Exploitation: active; Automatable: yes; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 10.0CVSS 3.1, Criticalfrom the CNA (GitHub_M)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What to do
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.CISA KEV required action
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| geosolutions-it | jai-ext |
|
Timeline
- 13 Apr 2022 Published
- 26 Jun 2024 CVE-2022-24816 added to CISA KEV
- 26 Jun 2024 Added to the CISA KEV catalogue