Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.sling/org.apache.sling.servlets.post
  4. ›
  5. CVE-2012-2138

CVE-2012-2138: Apache Sling POST Servlets Denial of Service Vulnerability

May 17, 2022 (updated August 29, 2023)

The @CopyFrom operation in the POST servlet in the org.apache.sling.servlets.post bundle before 2.1.2 in Apache Sling does not prevent attempts to copy an ancestor node to a descendant node, which allows remote attackers to cause a denial of service (infinite loop) via a crafted HTTP request.

References

  • mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg@mail.gmail.com%3E
  • svn.apache.org/viewvc?view=revision&revision=1352865
  • github.com/advisories/GHSA-342c-f869-5m44
  • github.com/apache/sling-org-apache-sling-servlets-post/commit/0205892908d6ea755645be5fc16e9df53e2e7261
  • issues.apache.org/jira/browse/SLING-2517
  • nvd.nist.gov/vuln/detail/CVE-2012-2138

Code Behaviors & Features

Detect and mitigate CVE-2012-2138 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.1.2

Fixed versions

  • 2.1.2

Solution

Upgrade to version 2.1.2 or above.

Impact 5 MEDIUM

AV:N/AC:L/Au:N/C:N/I:N/A:P

Learn more about CVSS

Weakness

  • CWE-264

Source file

maven/org.apache.sling/org.apache.sling.servlets.post/CVE-2012-2138.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:13 +0000.