Stackurity Start free trial

CVEs / CVE-2022-24816

CVE-2022-24816: OSGeo GeoServer JAI-EXT Code Injection Vulnerability

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.

CISA, Known Exploited Vulnerabilities catalog

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.

The CVE record, via NVD · published 13 Apr 2022 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
geosolutions-it jai-ext< 1.1.22—
geosolutionsgroup jai-extbefore 1.1.221.1.22
As stated by OSV
ProductAffectedFixed in
it.geosolutions.jaiext.jiffle:jt-jiffle (Maven)before 1.1.221.1.22
it.geosolutions.jaiext.jiffle:jt-jiffle-language (Maven)before 1.1.221.1.22

Package versions from GHSA-v92f-jx6p-73rx.

Exploitation

In CISA KEV since26 Jun 2024
Due date for US federal agencies17 Jul 2024
Used in ransomware campaignsUnknown
Required actionApply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Severity

CVSS 3.110 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-94

References

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.