Both of these Galaxy issues have been addressed with the latest Samsung security patch.
The August Samsung security update has so far been released for Galaxy A52, Galaxy A72, Galaxy A8 (2018), Galaxy S20 FE (Exynos 990, Snapdragon 865 editions), Galaxy S21, Galaxy S21 Plus and Galaxy S21 Ultra devices.
The update should get pushed out to more Samsung devices in the coming weeks. The official Android Security Bulletin for August details what exactly the latest update brings to the table.
Google notes that among the most serious issues the patch fixes is a high security vulnerability that could let a local, malicious app gain addition permissions.
The Mountain View firm said: “The most severe of these issues is a high security vulnerability in the Media Framework component that could enable a local malicious application to bypass operating system protections that isolate application data from other applications.