Both Galaxy issues have been fixed with the latest Samsung security patch.
The Samsung security update from August has been released so far for the Galaxy A52, Galaxy A72, Galaxy A8 (2018), Galaxy S20 FE (Exynos 990, Snapdragon 865 Edition), Galaxy S21, Galaxy S21 Plus and Galaxy S21 Ultra.
The update should be carried over to other Samsung devices in the coming weeks. The official Android Security Bulletin for August describes what exactly the latest update brings to the table.
Google advises that one of the most serious issues the patch fixes is a high security vulnerability that could allow a local malicious app to gain additional permissions.
Mountain View Company said, “The most serious of these problems is a high security vulnerability in the Media Framework component that could allow a local malicious application to bypass the protection of the operating system, which isolates application data from other applications.