CVE-2022-24816
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.
Weakness
- CWE-94: Improper Control of Generation of Code
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | OSGeo GeoServer JAI-EXT Code Injection Vulnerability |
|---|---|
| Vendor / product | OSGeo / JAI-EXT |
| Date added | 2024-06-26 |
| Federal remediation due date | 2024-07-17 |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2024-06-26 |
Timeline
- 2022-04-13Published by the CNA20:45 UTC
- 2023-09-19GitHub advisory published (GHSA-v92f-jx6p-73rx)524 days after publication
- 2024-06-26Added to the CISA KEV catalog805 days after publication
- 2024-06-26CISA SSVC decision recorded805 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2022-24816: GeoServer <1.2.2 - Remote Code Execution
GitHub advisory GHSA-v92f-jx6p-73rx, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven it.geosolutions.jaiext.jiffle:jt-jiffle | before 1.1.22 | 1.1.22 |
| Maven it.geosolutions.jaiext.jiffle:jt-jiffle-language | before 1.1.22 | 1.1.22 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| geosolutionsgroup jai-ext | before 1.1.22fixed in 1.1.22 | 1.1.22 |
References
- https://github.com/geosolutions-it/jai-ext/commit/cb1d6565d38954676b0a366da4f965fef38da1cb
- https://github.com/geosolutions-it/jai-ext/security/advisories/GHSA-v92f-jx6p-73rx
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24816
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-24816'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-24816'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-24816'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-24816'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2022-24816'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).