CVE-2012-2138Apache Org.apache.sling.servlets.post
Medium 5.0 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Org.apache.sling.servlets.post We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 2.0
- 5.0
- EPSS
- 14.0% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Jul 9, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
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.
What to do
- Apply the vendor's security update for Org.apache.sling.servlets.post.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.sling:org.apache.sling.servlets.post |
< 2.1.2 |
2.1.2 |
— |
Per OSV / GitHub Advisories (GHSA-342c-f869-5m44). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | org.apache.sling.servlets.post | ≤ 2.1.0 |
Official sources
References
Links published by the sources. Open them with care.