deletePackageVersionedInternal of the file DeletePackageHelper.java. The manipulation leads to permission issues.The identification of this vulnerability is CVE-2022-20611. Attacking locally is a requirement. There is no exploit available.
It is recommended to apply a patch to fix this issue.