CVE-2025-58782
JSON

6.5medium

Apache Jackrabbit Core, Apache Jackrabbit JCR Commons: JNDI injection risk with JndiRepositoryFactory

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
1.38% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-cxvc-g8f2-4gmm

Description

Deserialization of Untrusted Data vulnerability in Apache Jackrabbit Core and Apache Jackrabbit JCR Commons. This issue affects Apache Jackrabbit Core: from 1.0.0 through 2.22.1; Apache Jackrabbit JCR Commons: from 1.0.0 through 2.22.1. Deployments that accept JNDI URIs for JCR lookup from untrusted users allows them to inject malicious JNDI references, potentially leading to arbitrary code execution through deserialization of untrusted data. Users are recommended to upgrade to version 2.22.2. JCR lookup through JNDI has been disabled by default in 2.22.2. Users of this feature need to enable it explicitly and are adviced to review their use of JNDI URI for JCR lookup.

Affected

Product or packageVersionsReported by
org.apache.jackrabbit:jackrabbit-corefrom 1.0.0 up to 2.22.1CVE List
org.apache.jackrabbit:jackrabbit-jcr-commonsfrom 1.0.0 up to 2.22.1CVE List
org.apache.jackrabbit:jackrabbit-core (Maven)from 1.0.0 before 2.22.2GitHub Advisory Database
org.apache.jackrabbit:jackrabbit-jcr-commons (Maven)from 1.0.0 before 2.22.2GitHub Advisory Database
apache jackrabbitfrom 1.0.0 before 2.22.2NVD

All scores

CISA-ADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Deserialization of Untrusted Data vulnerability in Apache Jackrabbit Core and Apache Jackrabbit JCR Commons. This issue affects Apache Jackrabbit Core: from 1.0.0 through 2.22.1; Apache Jackrabbit JCR Commons: from 1.0.0 through 2.22.1. Deployments that accept JNDI URIs for JCR lookup from untrusted users allows them to inject malicious JNDI references, potentially leading to arbitrary code execution through deserialization of untrusted data. Users are recommended to upgrade to version 2.22.2. JCR lookup through JNDI has been disabled by default in 2.22.2. Users of this feature need to enable it explicitly and are adviced to review their use of JNDI URI for JCR lookup.

GitHub Advisory Database

There is a serialization of Untrusted Data vulnerability in Apache Jackrabbit Core and Apache Jackrabbit JCR Commons.

This issue affects Apache Jackrabbit Core: from 1.0.0 through 2.22.1; Apache Jackrabbit JCR Commons: from 1.0.0 through 2.22.1.

Deployments that accept JNDI URIs for JCR lookup from untrusted users allows them to inject malicious JNDI references, potentially leading to arbitrary code execution through deserialization of untrusted data. Users are recommended to upgrade to version 2.22.2. JCR lookup through JNDI has been disabled by default in 2.22.2. Users of this feature need to enable it explicitly and are adviced to review their use of JNDI URI for JCR lookup.

NVD (es)

Vulnerabilidad de deserialización de datos no confiables en Apache Jackrabbit Core y Apache Jackrabbit JCR Commons. Este problema afecta a Apache Jackrabbit Core: desde 1.0.0 hasta 2.22.1; Apache Jackrabbit JCR Commons: desde 1.0.0 hasta 2.22.1. Las implementaciones que aceptan URIs JNDI para búsquedas JCR de usuarios no confiables les permite inyectar referencias JNDI maliciosas, lo que podría conducir a ejecución de código arbitrario a través de la deserialización de datos no confiables. Se recomienda a los usuarios actualizar a la versión 2.22.2. La búsqueda JCR a través de JNDI ha sido deshabilitada por defecto en 2.22.2. Los usuarios de esta característica necesitan habilitarla explícitamente y se les aconseja revisar su uso de URIs JNDI para búsquedas JCR.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-58782 changed 2025-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-cxvc-g8f2-4gmm changed 2025-11-05CC-BY-4.0
NVDCVE-2025-58782 changed 2026-10-18Public domain