CVE-2022-24816 vulnerability in Geosolutionsgroup Products
Published on April 13, 2022
Improper Control of Generation of Code in jai-ext
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.
Known Exploited Vulnerability
This GeoSolutionsGroup JAI-EXT Code Injection Vulnerability is part of CISA's list of Known Exploited Vulnerabilities. GeoSolutionsGroup JAI-EXT, a component of GeoSolutions GeoServer, 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.
The following remediation steps are recommended / required by July 17, 2024: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Vulnerability Analysis
CVE-2022-24816 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. This vulnerability is known to be actively exploited by threat actors in an automatable fashion. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
What is a Code Injection Vulnerability?
The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CVE-2022-24816 has been classified to as a Code Injection vulnerability or weakness.
Products Associated with CVE-2022-24816
stack.watch emails you whenever new vulnerabilities are published in Geosolutionsgroup Jal Ext or Geosolutionsgroup Jai Ext. Just hit a watch button to start following.
Affected Versions
geosolutions-it jai-ext:- Version < 1.1.22 is affected.
- Before 1.1.22 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2022-24816
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| 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 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.