Skip to content

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

CriticalCVSS 10.0 EPSS 99.9% CISA KEV added 2024-06-26 · due 2024-07-17 Exploited in the wild Scanner template PoC
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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