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-2019-10184 Vulnerability in maven package io.undertow:undertow-servlet
CVE-2014-3529 Vulnerability in maven package org.apache.poi:poi-ooxml
CVE-2020-6460 Vulnerability in maven package org.webjars.npm:electron
CVE-2021-22696 Vulnerability in maven package org.apache.cxf:cxf-rt-rs-security-oauth2