Command injection in Apache Sling
High severity
GitHub Reviewed
Published
Feb 14, 2023
to the GitHub Advisory Database
•
Updated Feb 22, 2023
Package
Affected versions
< 3.1.12
Patched versions
3.1.12
Description
Published by the National Vulnerability Database
Feb 14, 2023
Published to the GitHub Advisory Database
Feb 14, 2023
Reviewed
Feb 14, 2023
Last updated
Feb 22, 2023
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.
References