Description
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.
Remediation
References
http://mail-archives.apache.org/mod_mbox/sling-dev/201310.mbox/%3CCAKkCf4pue6PnESsP1KTdEDJm1gpkANFaK%2BvUd9mzEVT7tXL%2B3A%40mail.gmail.com%3E
http://secunia.com/advisories/55157
http://www.securityfocus.com/bid/62903
https://exchange.xforce.ibmcloud.com/vulnerabilities/87765
https://issues.apache.org/jira/browse/SLING-2913
Related Vulnerabilities
CVE-2018-11537 Vulnerability in maven package org.webjars.bower:angular-jwt
CVE-2019-0192 Vulnerability in maven package org.apache.solr:solr-core
CVE-2020-28052 Vulnerability in maven package org.bouncycastle:bcprov-ext-jdk15on
CVE-2021-46440 Vulnerability in npm package strapi
CVE-2022-41235 Vulnerability in maven package org.jenkins-ci.plugins:wildfly-deployer