CVE-2012-2138
MEDIUM 5.0CVSS 2.0Apache Sling POST Servlets Denial of Service Vulnerability
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.
- Published
- 9 Jul 2012
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-264CWE-400
- Also known as
- GHSA-342c-f869-5m44
- Sources
- NVDJSONOSV GHSA-342c-f869-5m44JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | org.apache.sling.servlets.postcpe:2.3:a:apache:org.apache.sling.servlets.post:*:*:*:*:*:*:*:* |
<= 2.1.0 | |
| OSV | Maven | org.apache.sling:org.apache.sling.servlets.post | < 2.1.2 | 2.1.2 |
References
- http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg%40mail.gmail.com%3E
- http://svn.apache.org/viewvc?view=revision&revision=1352865 · WEB
- https://issues.apache.org/jira/browse/SLING-2517 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-2138 · ADVISORY
- https://github.com/apache/sling-org-apache-sling-servlets-post/commit/0205892908d6ea755645be5fc16e9df53e2e7261 · WEB
- http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg@mail.gmail.com%3E · WEB
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 9 Jul 2012)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)