{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2012-2138","published":"2012-07-09T22:55:01.027000Z","last_modified":"2026-06-16T23:41:04.057000Z","status":"Modified","cvss":{"version":"2.0","score":5.0,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-264"],"cpes":[{"criteria":"cpe:2.3:a:apache:org.apache.sling.servlets.post:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"org.apache.sling.servlets.post","version_end_including":"2.1.0"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/org.apache.sling.servlets.post"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-342c-f869-5m44","ecosystem":"Maven","name":"org.apache.sling:org.apache.sling.servlets.post","purl":"pkg:maven/org.apache.sling/org.apache.sling.servlets.post","ranges":[{"introduced":"0","fixed":"2.1.2"}],"versions":["2.0.2-incubator","2.0.4-incubator","2.1.0"]}],"severity":"medium","priority_score":45,"links":{"html_es":"/es/cve/CVE-2012-2138/","html_en":"/en/cve/CVE-2012-2138/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-2138","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-2138"},"untrusted":{"vendor_name":"Apache","product_name":"Org.apache.sling.servlets.post","desc_en":"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.","affected":[],"references":[{"url":"http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg%40mail.gmail.com%3E","tags":[]},{"url":"http://svn.apache.org/viewvc?view=revision&revision=1352865","tags":[]},{"url":"https://issues.apache.org/jira/browse/SLING-2517","tags":[]}]}}