The Apache Log4j hotpatch package before log4j-cve-2021-44228-hotpatch-1.1-13 didn’t mimic the permissions of the JVM being patched, allowing it to escalate privileges.
https://unit42.paloaltonetworks.com/aws-log4shell-hot-patch-vulnerabilities/
https://unit42.paloaltonetworks.com/aws-log4shell-hot-patch-vulnerabilities