CVE-2022-24816 Improper Control of Generation of Code in jai-ext
- Published
- Updated
- Exploit status
- Exploited in the wild (confirmed)
- CISA SSVC
- Actively exploited · automatable: yes · technical impact: total
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 Known Exploited Vulnerability
- Date added
- 2024-06-26
- Due date (FCEB)
- 2024-07-17
- Ransomware use
- Unknown
Required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| geosolutionsgroup jai-ext | < 1.1.22 | 1.1.22 | Fixed |
| it.geosolutions.jaiext.jiffle/jt-jiffle(Maven) | < 1.1.22 | 1.1.22 | Fixed |
| it.geosolutions.jaiext.jiffle/jt-jiffle-language(Maven) | < 1.1.22 | 1.1.22 | Fixed |
| geosolutions-it jai-ext | = < 1.1.22 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| it.geosolutions.jaiext.jiffle/jt-jiffle(Maven) | < 1.1.22 | 1.1.22 |
| it.geosolutions.jaiext.jiffle/jt-jiffle-language(Maven) | < 1.1.22 | 1.1.22 |
| geosolutions-it jai-ext | = < 1.1.22 | No fix listed |
| geosolutionsgroup jai-ext | < 1.1.22 | 1.1.22 |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- www.cisa.gov government-resource us-government-resource
- github.com
- ENISA EUVD EUVD-2023-2600 third-party-advisory