[ CVE-2022-24816 · Published 13 Apr 2022 ]

OSGeo GeoServer JAI-EXT Code Injection Vulnerability

Exploited · CISA KEV CVSS 10.0 EPSS 100%Fix available

[ Why it matters ]Priority signals

  • Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2024-06-26
  • EPSS: 100% chance of exploitation in the next 30 days (higher than 100% of CVEs)
  • Critical severity: CVSS 10.0

[ Description ]Official 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.

CISA: 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.

[ Fixes ]Fixes and patches

CISA required action (US federal deadline 17 Jul 2024): Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.