{"api_version":"1","generated_at":"2026-07-23T00:56:48+00:00","cve":"CVE-2012-2138","urls":{"html":"https://cve.report/CVE-2012-2138","api":"https://cve.report/api/cve/CVE-2012-2138.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-2138","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-2138"},"summary":{"title":"CVE-2012-2138","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.","state":"PUBLISHED","assigner":"redhat","published_at":"2012-07-09 22:55:01","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-264","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://svn.apache.org/viewvc?view=revision&revision=1352865","name":"http://svn.apache.org/viewvc?view=revision&revision=1352865","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[Apache-SVN] Revision 1352865","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg%40mail.gmail.com%3E","name":"http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg%40mail.gmail.com%3E","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] CVE-2012-2138 Apache Sling denial of service vulnerability","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://issues.apache.org/jira/browse/SLING-2517","name":"https://issues.apache.org/jira/browse/SLING-2517","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SLING-2517] Add validity checks to CopyFrom POST operation paths - ASF JIRA","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg@mail.gmail.com%3E","name":"MLIST:[www-announce] 20120706 [SECURITY] CVE-2012-2138 Apache Sling denial of service vulnerability","refsource":"MITRE","tags":[],"title":"[SECURITY] CVE-2012-2138 Apache Sling denial of service vulnerability","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-2138","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2138","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"2138","vulnerable":"1","versionEndIncluding":"2.1.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"org.apache.sling.servlets.post","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2138","vulnerable":"0","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"sling","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T19:26:08.407Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://issues.apache.org/jira/browse/SLING-2517"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://svn.apache.org/viewvc?view=revision&revision=1352865"},{"name":"[www-announce] 20120706 [SECURITY] CVE-2012-2138 Apache Sling denial of service vulnerability","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg%40mail.gmail.com%3E"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2012-07-09T22:00:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://issues.apache.org/jira/browse/SLING-2517"},{"tags":["x_refsource_CONFIRM"],"url":"http://svn.apache.org/viewvc?view=revision&revision=1352865"},{"name":"[www-announce] 20120706 [SECURITY] CVE-2012-2138 Apache Sling denial of service vulnerability","tags":["mailing-list","x_refsource_MLIST"],"url":"http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg%40mail.gmail.com%3E"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2012-2138","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://issues.apache.org/jira/browse/SLING-2517","refsource":"CONFIRM","url":"https://issues.apache.org/jira/browse/SLING-2517"},{"name":"http://svn.apache.org/viewvc?view=revision&revision=1352865","refsource":"CONFIRM","url":"http://svn.apache.org/viewvc?view=revision&revision=1352865"},{"name":"[www-announce] 20120706 [SECURITY] CVE-2012-2138 Apache Sling denial of service vulnerability","refsource":"MLIST","url":"http://mail-archives.apache.org/mod_mbox/www-announce/201207.mbox/%3CCAEWfVJ=PwoQmwJg0KmbrC17Gw51kgfKRsqgy=4RpMQsdGh0bVg@mail.gmail.com%3E"}]}}}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2012-2138","datePublished":"2012-07-09T22:00:00.000Z","dateReserved":"2012-04-04T00:00:00.000Z","dateUpdated":"2024-09-16T20:42:21.664Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-07-09 22:55:01","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-264","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:apache:org.apache.sling.servlets.post:*:*:*:*:*:*:*:*","versionEndIncluding":"2.1.0","matchCriteriaId":"3D36B6C4-8CDD-4830-9FB6-C9194CEFA231"},{"vulnerable":false,"criteria":"cpe:2.3:a:apache:sling:*:*:*:*:*:*:*:*","matchCriteriaId":"7F5259B4-EB04-4093-9C5B-C52ED92F23E9"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"2138","Ordinal":"1","Title":"CVE-2012-2138","CVE":"CVE-2012-2138","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"2138","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2012-2138"},{"CveYear":"2012","CveId":"2138","Ordinal":"2","NoteData":"2012-07-09","Type":"Other","Title":"Published"}]}}}