The deepGetOrCreateNode function in impl/operations/AbstractCreateOperation.java in org.apache.sling.servlets.post.bundle 2.2.0 and 2.3.0 in Apache Sling does not properly handle a NULL value that returned when the session does not have permissions to the root node, which allows remote attackers to cause a denial of service (infinite loop) via unspecified vectors.
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-2254
- https://exchange.xforce.ibmcloud.com/vulnerabilities/87765
- https://issues.apache.org/jira/browse/SLING-2913
- http://mail-archives.apache.org/mod_mbox/sling-dev/201310.mbox/%3CCAKkCf4pue6PnESsP1KTdEDJm1gpkANFaK%2BvUd9mzEVT7tXL%2B3A%40mail.gmail.com%3E
- https://github.com/advisories/GHSA-cxwh-vmhg-39r2