CVEs / CVE-2022-24816
CVE-2022-24816: OSGeo GeoServer JAI-EXT Code Injection Vulnerability
- Known exploited in the CISA KEV catalog since 26 Jun 2024
- critical 10 CVSS 3.1 (NVD)
- EPSS 99.9% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2022-24816
Summary
OSGeo GeoServer JAI-EXT 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.
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| geosolutions-it jai-ext | < 1.1.22 | — |
| geosolutionsgroup jai-ext | before 1.1.22 | 1.1.22 |
| Product | Affected | Fixed in |
|---|---|---|
| it.geosolutions.jaiext.jiffle:jt-jiffle (Maven) | before 1.1.22 | 1.1.22 |
| it.geosolutions.jaiext.jiffle:jt-jiffle-language (Maven) | before 1.1.22 | 1.1.22 |
Package versions from GHSA-v92f-jx6p-73rx.
Exploitation
| In CISA KEV since | 26 Jun 2024 |
|---|---|
| Due date for US federal agencies | 17 Jul 2024 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
Severity
| CVSS 3.1 | 10 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-94 |
References
- CVE-2022-24816 on NVD
- CVE-2022-24816 in the CISA KEV catalog
- https://github.com/geosolutions-it/jai-ext/releases/tag/1.1.22 (cited by CISA)
- https://github.com/geosolutions-it/jai-ext/security/advisories/GHSA-v92f-jx6p-73rx (cited by CISA)
- CVE-2022-24816 on OSV
- https://github.com/geosolutions-it/jai-ext/commit/cb1d6565d38954676b0a366da4f965fef38da1cb Patch
- https://github.com/geosolutions-it/jai-ext/security/advisories/GHSA-v92f-jx6p-73rx Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24816 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.