CVE-2022-24816: OSGeo GeoServer JAI-EXT Code Injection Vulnerability

Published Apr 13, 2022
·
Updated

Impact Programs using jt-jiffle, and allowing Jiffle script to be provided via network request, are susceptible 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.

Patches Version 1.2.22 will contain a patch that disables the ability to inject malicious code into the resulting script.

Workarounds Negate the ability to compile Jiffle scripts from the final application, by removing janino-x.y.z.jar from the classpath.

References None.

Other sources

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.

MITRE

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.

CISA

Affected Software

4 affected componentsFixes available
maven/it.geosolutions.jaiext.jiffle:jt-jiffle-language<1.1.22
1.1.22
maven/it.geosolutions.jaiext.jiffle:jt-jiffle<1.1.22
1.1.22
Geosolutionsgroup Jai-ext<1.1.22
OSGeo JAI-EXT

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/it.geosolutions.jaiext.jiffle:jt-jiffle-language to a version that resolves this vulnerability.

    Fixed in 1.1.22
  2. Upgrade

    Upgrade maven/it.geosolutions.jaiext.jiffle:jt-jiffle to a version that resolves this vulnerability.

    Fixed in 1.1.22
  3. Configuration

    Remove janino-x.y.z.jar from the application's classpath to negate the ability to compile Jiffle scripts from the final application.

    classpath (janino-x.y.z.jar) janino_present = false
  4. Compensating control

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

Event History

Apr 13, 2022
CVE Published
via MITRE·08:45 PM
Data Sourced
via MITRE·08:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 19, 2023
Advisory Published
via GitHub·08:35 PM
Jun 26, 2024
Known Exploited
via CISA·12:00 AM
Dec 12, 2025
News Published
via BleepingComputer·09:48 AM
News Published
via BleepingComputer·09:49 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the impact of CVE-2022-24816?

Programs using jt-jiffle and allowing Jiffle script to be provided via network request are susceptible to Remote Code Execution.

2

Which project is particularly affected by CVE-2022-24816?

The downstream GeoServer project is particularly affected by this vulnerability.

3

How can I fix CVE-2022-24816?

Update the jt-jiffle and jt-jiffle-language packages to version 1.1.23 or higher.

4

Where can I find more information about CVE-2022-24816?

More information about CVE-2022-24816 can be found in the GitHub security advisory and NVD NIST vulnerability report.

5

What is the severity rating of CVE-2022-24816?

The severity rating of CVE-2022-24816 is critical with a score of 9.8.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203