CVE-2022-24816
OSGeo GeoServer JAI-EXT Code Injection Vulnerability
OSGeo JAI-EXT
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.
Exploitation status
CISA Known Exploited Vulnerabilities
Listed by CISA on 26 June 2024. US federal agencies were required to remediate it by 17 July 2024.
EPSS — exploitation probability
FIRST puts the probability of exploitation activity in the next 30 days at 99.9%, which is higher than 99.9% of all scored vulnerabilities. EPSS is a forecast of activity, not a measure of severity, and it is rescored daily.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Frequently asked questions
Is CVE-2022-24816 being exploited by ransomware groups?
No ransomware group in this database is currently recorded as exploiting CVE-2022-24816.
What does CVE-2022-24816 affect?
CVE-2022-24816 affects OSGeo JAI-EXT. 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.
How severe is CVE-2022-24816?
CVE-2022-24816 is rated CRITICAL with a CVSS base score of 10. EPSS puts the probability of exploitation in the next 30 days at 99.9%, higher than 99.9% of all scored vulnerabilities. It is listed in the CISA Known Exploited Vulnerabilities catalog, with a federal remediation deadline of 17 July 2024.
How should organisations respond to CVE-2022-24816?
Apply the vendor patch for OSGeo JAI-EXT as the first priority, and treat any internet-facing instance as the most urgent. Because this vulnerability is associated with ransomware activity, also review whether the affected systems were reachable before patching, rather than assuming that patching alone closes the incident.