Live threats

All CVEs / OSGeo

CVE-2022-24816OSGeo JAI-EXT

Remote Code Injection in OSGeo JAI-EXT

Critical 10.0 KEV No auth neededHigh EPSS

Priority
83
CVSS 3.1
10.0
EPSS
75.4%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Jun 26, 2024
CISA deadline
Jul 17, 2024
Ransomware use
Unknown
Published
Apr 13, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

JAI-EXT allows remote code execution when applications accept Jiffle scripts from network requests. The script is compiled to Java code via Janino without proper validation, enabling code injection. CISA confirmed active exploitation in the known exploited vulnerabilities catalog.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by 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.

Action required by CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 1.1.22

Update JAI-EXT to version 1.1.22 or later. If unable to upgrade, remove janino-x.y.z.jar from the classpath to disable Jiffle script compilation.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for JAI-EXT.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was July 17, 2024.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven it.geosolutions.jaiext.jiffle:jt-jiffle < 1.1.22 1.1.22 —
Maven it.geosolutions.jaiext.jiffle:jt-jiffle-language < 1.1.22 1.1.22 —

Per OSV / GitHub Advisories (GHSA-v92f-jx6p-73rx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
geosolutionsgroupjai-ext< 1.1.22

Official sources

References

Links published by the sources. Open them with care.