CVE-2022-24816 — Vulnerability in jt-jiffle-language — CVE Details
Improper Control of Generation of Code ('Code Injection') in jai-ext
What Should I Do?
Patch Immediately
This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.
Does your project use an affected it.geosolutions.jaiext.jiffle:jt-jiffle-language version?
Paste your pom.xml to check it for CVE-2022-24816 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
Programs using jt-jiffle, and allowing Jiffle script to be provided via network request, are susceptible 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.
Patches
Version 1.2.22 will contain a patch that disables the ability to inject malicious code into the resulting script.
Workarounds
Negate the ability to compile Jiffle scripts from the final application, by removing janino-x.y.z.jar from the classpath.
References
None.
Advisory Timeline
- First published September 19, 2023 (1164 days ago).
- Last revised October 22, 2025 — 764 days after initial publication.
- Added to CISA's Known Exploited Vulnerabilities catalog 280 days after publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 1.1.22 for it.geosolutions.jaiext.jiffle:jt-jiffle-language -->
<!-- Update pom.xml dependency version to 1.1.22 for it.geosolutions.jaiext.jiffle:jt-jiffle -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| it.geosolutions.jaiext.jiffle:jt-jiffle-language Maven · Affected: All versions | 1.1.22 |
| it.geosolutions.jaiext.jiffle:jt-jiffle Maven · Affected: All versions | 1.1.22 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
References
- https://github.com/geosolutions-it/jai-ext/security/advisories/GHSA-v92f-jx6p-73rxWEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24816ADVISORY
- https://github.com/geosolutions-it/jai-ext/commit/cb1d6565d38954676b0a366da4f965fef38da1cbWEB
- https://github.com/geosolutions-it/jai-extPACKAGE
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24816WEB
Frequently Asked Questions
- What is CVE-2022-24816?
- Improper Control of Generation of Code ('Code Injection') in jai-ext. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2022-24816?
- CVE-2022-24816 affects it.geosolutions.jaiext.jiffle:jt-jiffle-language and it.geosolutions.jaiext.jiffle:jt-jiffle. It has a 75.4% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-24816 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 99.7% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.
Added to KEV catalog: June 26, 2024
Remediation deadline: July 17, 2024
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host