In onBindViewHolder of AppSwitchPreference.java, there is a possible bypass of device admin setttings due to unclear UI. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.
{ "vanir_signatures": [ { "digest": { "threshold": 0.9, "line_hashes": [ "159759314869150828135533413377244572893", "296924473972724144855395304703216420406", "272896680878176703335280775311208278755", "305759227034993522462875475534594153979" ] }, "id": "PUB-A-169936038-0ae4c5c3", "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/f7ae52bed633d407767e54e6f72bd03e636d441f", "deprecated": false, "signature_version": "v1", "target": { "file": "src/com/android/settings/applications/specialaccess/deviceadmin/DeviceAdminListPreferenceController.java" }, "signature_type": "Line" }, { "digest": { "length": 595.0, "function_hash": "130033121631613249146703716424997567582" }, "id": "PUB-A-169936038-bcb029ce", "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/f7ae52bed633d407767e54e6f72bd03e636d441f", "deprecated": false, "signature_version": "v1", "target": { "file": "src/com/android/settings/applications/specialaccess/deviceadmin/DeviceAdminListPreferenceController.java", "function": "bindPreference" }, "signature_type": "Function" } ], "fixes": [ "https://android.googlesource.com/platform/packages/apps/Settings/+/f7ae52bed633d407767e54e6f72bd03e636d441f" ], "spl": "2021-06-01", "severity": "Moderate", "types": [ "EoP" ] }