Actively exploited · Published Apr 13, 2022 · Assigned by GitHub_M

CVE-2022-24816Improper Control of Generation of Code in jai-ext

Critical 10.0 Exploited

In plain English

A critical-severity code injection in jai-ext from geosolutions-it. Attackers are actively exploiting it in the wild (listed by CISA on June 26, 2024). The chance it is exploited in the next 30 days is estimated at 99.9% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)99.9%top 0.0% of all CVEs
Exploited in the wildYesCISA KEV since Jun 26, 2024
Attack tooling2Nuclei, Public PoC

CISA guidance

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Federal agencies must remediate by Jul 17, 2024.

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenit.geosolutions.jaiext.jiffle:jt-jiffle1.1.22GHSA-v92f-jx6p-73rx
Mavenit.geosolutions.jaiext.jiffle:jt-jiffle-language1.1.22GHSA-v92f-jx6p-73rx

Affected products (as reported)

VendorProductVersions
geosolutions-it jai-ext < 1.1.22

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References