CVE-2022-24816: OSGeo GeoServer JAI-EXT Code Injection
OSGeo JAI-EXT · listed in the CISA catalog of actively exploited vulnerabilities since 2024-06-26.
- CVSS v3.1 (CVE record)
- 10.0
- critical
- EPSS (exploit probability, 30 days)
- 99.9%
- among the highest 0.1% of all CVEs
- Added to CISA KEV
- 2024-06-26
- US federal due date 2024-07-17
- Automatable (CISA SSVC)
- yes
- technical impact: total
What is CVE-2022-24816?
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.
CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA notes
- This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. The patched JAI-EXT is version 1.1.22: github.com/geosolutions-it/jai-ext/releases/tag/1.1.22, github.com/geosolutions-it/jai-ext/security/advisories/GH…; nvd.nist.gov/vuln/detail/CVE-2022-24816
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- geosolutions-it jai-extAffectedFixed in
- < 1.1.22
not stated
| Product | Affected | Fixed in |
|---|---|---|
| geosolutions-it jai-ext |
| not stated |
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: github.com/geosolutions-it/jai-ext/security/advisories/GH…
- CISA's deadline for US federal agencies: 2024-07-17 (passed) – a useful benchmark for everyone else, too.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-94 Improper Control of Generation of Code ('Code Injection')
References
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.