This issue was addressed with improved handling of symlinks. This issue is fixed in watchOS 10.1, macOS Sonoma 14.1, tvOS 17.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1, macOS Ventura 13.6.1. A malicious app may be able to gain root privileges.
https://support.apple.com/en-us/HT213988
https://support.apple.com/en-us/HT213987
https://support.apple.com/en-us/HT213985
https://support.apple.com/en-us/HT213984