Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.sling/org.apache.sling.servlets.resolver
  4. ›
  5. CVE-2024-23673

CVE-2024-23673: Apache Sling Servlets Resolver executes malicious code via path traversal

February 6, 2024 (updated February 13, 2025)

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.

References

  • github.com/advisories/GHSA-h2rq-qhr7-53gm
  • github.com/apache/sling-org-apache-sling-servlets-resolver
  • github.com/apache/sling-org-apache-sling-servlets-resolver/commit/b54d4e6693e0bcd63a97a0328f4f065b8a81b75e
  • lists.apache.org/thread/5zzx8ztwc6tmbwlw80m2pbrp3913l2kl
  • nvd.nist.gov/vuln/detail/CVE-2024-23673

Code Behaviors & Features

Detect and mitigate CVE-2024-23673 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.11.0

Fixed versions

  • 2.11.0

Solution

Upgrade to version 2.11.0 or above.

Impact 8.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.apache.sling/org.apache.sling.servlets.resolver/CVE-2024-23673.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.