BLACKOUT MAP

OSGeo · JAI-EXT

CVE-2022-24816

Improper Control of Generation of Code in jai-ext

Exploited in attacks Critical 10.0 Attack chance: 99.9%
Share

What it is

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: OSGeo GeoServer JAI-EXT contains a code injection vulnerability that, when programs use jt-jiffle and allow Jiffle script to be provided via network request, could allow remote code execution.

What to do

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

Deadline for US federal agencies: July 17, 2024

Added to the CISA list
June 26, 2024
Published
April 13, 2022
Severity
Critical 10.0 CVSS 3.1
Chance of attacks in the next 30 days (EPSS)
99.9% in the top 0.1% of all known vulnerabilities
Weakness
CWE-94
More details
NVD · CVE.org · CISA
All references (2)

More exploited flaws from OSGeo

AddedVulnerabilityProductSeverityAttack chance
Dec 11, 2025Improper Restriction of XML External Entity ReferenceCVE-2025-58360GeoServerHigh 8.261%
Jul 15, 2024GeoTools Eval InjectionCVE-2024-36401GeoServerCritical 9.899.8%

All of them →

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.