CVE Catalog

Actively exploited in the wild

OSGeo GeoServer JAI-EXT Code Injection Vulnerability

OSGeo - JAI-EXT · Listed in the CISA KEV since 2024-06-26. This indicates confirmed attacks in production environments.

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

CVE-2022-24816

CriticalCVSS 10.0KEV
Published: Updated: Translated: NVD NIST

Summary

JAI-EXT is an open-source project extending the Java Advanced Imaging (JAI) API. Programs allowing Jiffle script via network request can lead to Remote Code Execution as the script is compiled into Java code via Janino and executed. This affects the downstream GeoServer project. Version 1.2.22 contains a patch that disables the ability to inject malicious code into the resulting script.

Risk Assessment

An attacker can execute arbitrary code on a server using JAI-EXT, potentially leading to full system compromise and data breach.

Recommendation

Update JAI-EXT to version 1.2.22 or later, or if not possible, remove janino-x.y.z.jar from the classpath to prevent Jiffle script compilation.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS