title: JNDI injection into Apache sling-org-apache-sling-jcr-base
description: Apache Sling JCR Base < 3.1.12 has a critical injection vulnerability when running on old JDK versions (JDK 1.8.191 or earlier) through utility functions in RepositoryAccessor. The functions getRepository and getRepositoryFromURL allow an application to access data stored in a remote location via JDNI and RMI.
Users of Apache Sling JCR Base are recommended to upgrade to Apache Sling JCR Base 3.1.12 or later, or to run on a more recent JDK.
problem types: CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
affected:
{
defaultStatus: unaffected
product: Apache Sling JCR Base
vendor: Apache Software Foundation
versions:
lessThan: 3.1.12, status: affected, version: 2.0.6, versionType: maven
}
metrics:
other: [
content: {'text': 'critical'}
type: Textual description of severity
]