CVE-2024-23673

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in maven/org.apache.sling/org.apache.sling.servlets.resolver

Identifiers

GHSA-h2rq-qhr7-53gm, CVE-2024-23673

Package Slug

maven/org.apache.sling/org.apache.sling.servlets.resolver

Vulnerability

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Description

Malicious code execution via path traversal in Apache Software Foundation Apache Sling Servlets Resolver.This issue affects all version of Apache Sling Servlets Resolver before 2.11.0. However, whether a system is vulnerable to this attack depends on the exact configuration of the system. If the system is vulnerable, a user with write access to the repository might be able to trick the Sling Servlet Resolver to load a previously uploaded script. 

Users are recommended to upgrade to version 2.11.0, which fixes this issue. It is recommended to upgrade, regardless of whether your system configuration currently allows this attack or not.

Affected Versions

All versions before 2.11.0

Solution

Upgrade to version 2.11.0 or above.

Last Modified

2024-02-07

source