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-2020-2306 Vulnerability in maven package org.jenkins-ci.plugins:mercurial
CVE-2023-35166 Vulnerability in maven package org.xwiki.platform:xwiki-platform-help-ui
CVE-2012-0392 Vulnerability in maven package org.apache.struts.xwork:xwork-core
CVE-2023-49674 Vulnerability in maven package io.jenkins.plugins:neuvector-vulnerability-scanner
CVE-2021-43859 Vulnerability in maven package com.thoughtworks.xstream:xstream