WaratekVRT Sign in

CVE-2012-2138 apache org.apache.sling.servlets.post

Affected softwareapache org.apache.sling.servlets.post
Severity5.0 Medium CVSS 2.0
Fixed in2.1.2
WeaknessUncontrolled resource consumption (CWE-400)
Published9 Jul 2012
Updated16 Jun 2026

Description

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.

CWE-264

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in Exploit-DB; first seen 2012-07-06.
  • EPSS 14% chance in 30 days A model's forecast, not a report of exploitation. Higher than 97% of all scored CVEs.
IndexArtifactStarsFirst seen
Exploit-DB Apache Sling - Denial of Service 2012-07-06

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.apache.sling:org.apache.sling.servlets.post), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.sling:org.apache.sling.servlets.post 0 2.1.2 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache org.apache.sling.servlets.post generic ≤ 2.1.0
osv org.apache.sling org.apache.sling.servlets.post generic < 2.1.2

References

URLTags
https://github.com/apache/sling-org-apache-sling-servlets-post/commit/0205892908d6ea755645be5fc16e9df53e2e7261 WEB
https://issues.apache.org/jira/browse/SLING-2517 WEB
http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg@mail.gmail.com%3E WEB
http://svn.apache.org/viewvc?view=revision&revision=1352865 WEB
http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg%40mail.gmail.com%3E

Timeline

Published2012-07-09By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.