CVE-2022-24816: Improper Control of Generation of Code in jai-ext
In CISA’s Known Exploited Vulnerabilities catalog: OSGeo GeoServer JAI-EXT Code Injection Vulnerability.
Added , federal remediation due . Known ransomware use: Unknown.
Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H · CWE-94
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
geosolutionsgroup: jai-extgeosolutions-it: jai-ext
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/geosolutions-it/jai-ext/commit/cb1d6565d38954676b0a366da4f965fef38da1… (opens in new tab)
- github.com/geosolutions-it/jai-ext/security/advisories/GHSA-v92f-jx6p-73rx (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)