# CVE-2022-24816: Improper Control of Generation of Code in jai-ext

> CVE-2022-24816: Improper Control of Generation of Code in jai-ext. CVSS 10.0 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2022-24816
Last updated: 2025-10-21T23:15:42Z

- Published: 2022-04-13 20:45 UTC · Updated: 2025-10-21 23:15 UTC · Assigner: GitHub\_M
- CVSS: 10.0 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS: 99.9%, 100th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2024-06-26, federal due date 2024-07-17, ransomware use: Unknown
- CWE: CWE-94

## 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.

## CISA required action

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

## Affected vendors and products

- geosolutionsgroup: jai-ext
- geosolutions-it: jai-ext

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2022-24816)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2022-24816)
- [https://github.com/geosolutions-it/jai-ext/commit/cb1d6565d38954676b0a366da4f965fef38da1cb](https://github.com/geosolutions-it/jai-ext/commit/cb1d6565d38954676b0a366da4f965fef38da1cb)
- [https://github.com/geosolutions-it/jai-ext/security/advisories/GHSA-v92f-jx6p-73rx](https://github.com/geosolutions-it/jai-ext/security/advisories/GHSA-v92f-jx6p-73rx)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2022-24816 · Markdown: https://rewindex.com/cve/CVE-2022-24816.md · JSON: https://rewindex.com/api/v1/cves/CVE-2022-24816 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:50:16.303Z
