CVE-2022-24816

Improper Control of Generation of Code in jai-ext

Published Apr 13, 2022 CVSS 3.1 · 10 Critical EPSS 99.9% KEV · Listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-v92f-jx6p-73rx Improper Control of Generation of Code ('Code Injection') in jai-ext
History
Type Values Removed Values Added
CPEs cpe:2.3:a:geosolutionsgroup:jai-ext:-:*:*:*:*:*:*:*
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 21, 2025, 11:15 PM
Reserved
Feb 10, 2022, 12:00 AM
Status
Analyzed
Published
Apr 13, 2022, 9:15 PM
Modified
Jun 17, 2026, 4:32 AM