CVE-2012-2138
Apache Sling POST Servlets Denial of Service Vulnerability
CVE-2012-2138 is a medium vulnerability (CVSS 5.0) in Apache Org.apache.sling.servlets.post, published July 9, 2012. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 14.1%, the 96th percentile. Fixed in org.apache.sling:org.apache.sling.servlets.post 2.1.2.
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2012-2138- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-2138- Updated
- 2026-11-02
EUVDEUVD-2022-2101 No score
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.
- Record
EUVD-2022-2101- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-342c-f869-5m44 No score
Apache 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.
- Record
GHSA-342c-f869-5m44- Weakness
- CWE-400
- Updated
- 2026-11-02
OSVGHSA-342c-f869-5m44 No score
Apache 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.
- Record
GHSA-342c-f869-5m44- Weakness
- CWE-400
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.sling:org.apache.sling.servlets.postMaven |
before 2.1.2 | 2.1.2 |
org.apache.sling:org.apache.sling.servlets.postMaven |
before 2.1.2, plus listed versions 2.0.2-incubator2.0.4-incubator2.1.0 |
2.1.2 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Apache Sling - Denial of Service | 2012-07-06 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
References
issues.apache.org/jira/browse/SLING-2517
svn.apache.org/viewvc?view=revision&revision=1352865
mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg%40mail.gmail.com%3E
nvd.nist.gov/vuln/detail/CVE-2012-2138
mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg@mail.gmail.com%3E
github.com/apache/sling-org-apache-sling-servlets-post/commit/0205892908d6ea755645be5fc16e9df53e2e7261
github.com/advisories/GHSA-342c-f869-5m44