CVE-2022-24816
Improper Control of Generation of Code in jai-ext
Also known as GHSA-v92f-jx6p-73rx
Mitigation
- Upgrade it.geosolutions.jaiext.jiffle:jt-jiffle to 1.1.22 or later.
- Upgrade it.geosolutions.jaiext.jiffle:jt-jiffle-language to 1.1.22 or later.
Who should check
- Projects that depend on Maven package it.geosolutions.jaiext.jiffle:jt-jiffle (< 1.1.22)
- Projects that depend on Maven package it.geosolutions.jaiext.jiffle:jt-jiffle-language (< 1.1.22)
- Anyone running geosolutions-it jai-ext < 1.1.22
Vulnerability facts
- Affected
- it.geosolutions.jaiext.jiffle:jt-jiffle < 1.1.22; it.geosolutions.jaiext.jiffle:jt-jiffle-language < 1.1.22
- Fixed in
- 1.1.22
- Exploited in the wild
- Yes: in CISA KEV since 2024-06-26; federal due date 2024-07-17
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 10.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 75.36% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-94
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven it.geosolutions.jaiext.jiffle:jt-jiffle | < 1.1.22 | 1.1.22 | osv |
| Maven it.geosolutions.jaiext.jiffle:jt-jiffle-language | < 1.1.22 | 1.1.22 | osv |
| geosolutions-it jai-ext | < 1.1.22 | — | cvelist |
Timeline
- 2022-04-13 Published
- 2024-06-26 Added to CISA KEV (exploited in the wild)
- 2024-07-17 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-24816. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-24816.md Affected: it.geosolutions.jaiext.jiffle:jt-jiffle < 1.1.22; it.geosolutions.jaiext.jiffle:jt-jiffle-language < 1.1.22 Fixed in: 1.1.22 Steps: 1. Search this machine and project for it.geosolutions.jaiext.jiffle:jt-jiffle (Maven), it.geosolutions.jaiext.jiffle:jt-jiffle-language (Maven), geosolutions-it jai-ext: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2022-24816 being exploited?
Yes. CISA lists CVE-2022-24816 in its Known Exploited Vulnerabilities catalog since 2024-06-26, which means attacks have been seen. No public exploit code is known. EPSS estimates a 75.36% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-24816?
Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2022-24816?
it.geosolutions.jaiext.jiffle:jt-jiffle < 1.1.22; it.geosolutions.jaiext.jiffle:jt-jiffle-language < 1.1.22.
Is there a fix for CVE-2022-24816?
Yes. Fixed in 1.1.22. Upgrade it.geosolutions.jaiext.jiffle:jt-jiffle to 1.1.22 or later. Upgrade it.geosolutions.jaiext.jiffle:jt-jiffle-language to 1.1.22 or later.
How do I check if I'm affected by CVE-2022-24816?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.