A logic issue was addressed with improved validation. This issue is fixed in macOS Monterey 12.3. A malicious application may be able to gain root privileges.
https://support.apple.com/en-us/HT213256
https://support.apple.com/en-us/102770
https://support.apple.com/kb/HT213256
https://support.apple.com/kb/HT213255
https://support.apple.com/kb/HT213185
https://support.apple.com/kb/HT213184
https://support.apple.com/en-us/HT213183