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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| geosolutions-it | jai-ext | < 1.1.22 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
c1ph3rbyt3/CVE-2022-24816 ★ 1 · Jan 17, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- GeoServer <1.2.2 - Remote Code Execution http/cves/2022/CVE-2022-24816.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | it.geosolutions.jaiext.jiffle:jt-jiffle | < 1.1.22 | 1.1.22 | GHSA-v92f-jx6p-73rx |
| Maven | it.geosolutions.jaiext.jiffle:jt-jiffle-language | < 1.1.22 | 1.1.22 | GHSA-v92f-jx6p-73rx |