{"id":"CVE-2012-2138","aliases":["EDB-37487","GHSA-342c-f869-5m44"],"kind":"cve","tier":"cold","status":"published","title":"Apache Sling POST Servlets Denial of Service Vulnerability","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.","ai_summary":null,"severity":"medium","cvss":{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"NVD"},"scores":[{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"nvd"}],"cwe":["CWE-264"],"remote":true,"remote_unauth":true,"epss":{"score":0.13969,"percentile":0.97213,"date":"2026-11-28"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[37487]},"affected":[{"ecosystem":"Maven","name":"org.apache.sling:org.apache.sling.servlets.post","affected":"< 2.1.2","fixed":["2.1.2"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade org.apache.sling:org.apache.sling.servlets.post to 2.1.2 or later.","technologies":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2138","kind":"vendor"},{"url":"https://github.com/apache/sling-org-apache-sling-servlets-post/commit/0205892908d6ea755645be5fc16e9df53e2e7261","kind":"patch"},{"url":"https://www.exploit-db.com/exploits/37487","kind":"exploit"},{"url":"https://issues.apache.org/jira/browse/SLING-2517","kind":"other"},{"url":"http://svn.apache.org/viewvc?view=revision&revision=1352865","kind":"other"},{"url":"http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg%40mail.gmail.com%3E","kind":"other"},{"url":"http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg@mail.gmail.com%3E","kind":"other"}],"workarounds":null,"vendors":["apache"],"products":["org.apache.sling.servlets.post"],"cpes":["cpe:2.3:a:apache:org.apache.sling.servlets.post:*:*:*:*:*:*:*:*"],"published_at":"2012-07-06T00:00:00.000Z","modified_at":"2026-06-16T23:41:04.057Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2138"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-342c-f869-5m44","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/37487"}],"links":{"html":"https://flawdb.com/CVE-2012-2138","markdown":"https://flawdb.com/CVE-2012-2138.md","json":"https://flawdb.com/api/v1/entries/CVE-2012-2138"}}