SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityAnalyzed

CVE-2022-24816

OSGeo GeoServer JAI-EXT Code Injection Vulnerability

KEVCRITICAL 10.0EPSS 98.5%

Does this matter?

Known to be exploited in the wild (CISA KEV, CISA remediation deadline 17 July 2024). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.

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.

CVSS 3.1
10.0 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
98.52% probability · 100th percentile
CISA KEV
Listed 26 June 2024 · due 17 July 2024
Weakness
CWE-94
Affected
geosolutionsgroup/jai-ext
Source
security-advisories@github.com

CISA notes

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. The patched JAI-EXT is version 1.1.22: https://github.com/geosolutions-it/jai-ext/releases/tag/1.1.22, https://github.com/geosolutions-it/jai-ext/security/advisories/GHSA-v92f-jx6p-73rx; https://nvd.nist.gov/vuln/detail/CVE-2022-24816

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.