A race condition vulnerability was found in rpm. A local unprivileged user could use this flaw to bypass the checks that were introduced in response to CVE-2017-7500 and CVE-2017-7501, potentially gaining root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
https://www.usenix.org/legacy/event/sec05/tech/full_papers/borisov/borisov.pdf
https://security.gentoo.org/glsa/202210-22
https://rpm.org/wiki/Releases/4.18.0