CVE-2022-24816
Critical 10.0KEV · exploitedFix status unknownImproper Control of Generation of Code in jai-ext
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Among the highest-scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 857 days ago for U.S. federal agencies
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
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| OSGeo | JAI-EXT | Not documented | Not documented | CISA KEV |
| geosolutions-it | jai-ext | < 1.1.22 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
26 Jun 2024KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
26 Jun 2024Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Vendor guidance and references
- https://github.com/geosolutions-it/jai-ext/releases/tag/1.1.22, (opens in a new tab)vendor-advisory
- https://github.com/geosolutions-it/jai-ext/security/advisories/GHSA-v92f-jx6p-73rx (opens in a new tab)vendor-advisory, x_refsource_confirm, x_transferred
- https://github.com/geosolutions-it/jai-ext/commit/cb1d6565d38954676b0a366da4f965fef38da1cb (opens in a new tab)x_refsource_misc, x_transferred
- https://nvd.nist.gov/vuln/detail/CVE-2022-24816 (opens in a new tab)government
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24816 (opens in a new tab)government-resource