ADVISORIES

GitHub Advisory Database

GHSA-gvg3-83q4-rfhq

Command injection in Apache Sling

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.sling:org.apache.sling.jcr.base
All versions before 3.1.12 (fixed in 3.1.12)

References