{"id":"ASB-A-228314987","details":"In setChecked of SecureNfcPreferenceController.java, there is a missing permission check. This could lead to local escalation of privilege from the guest user with no additional execution privileges needed. User interaction is not needed for exploitation.","aliases":["A-228314987","CVE-2022-20360"],"modified":"2026-04-17T15:55:28.020024Z","published":"2022-08-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2022-08-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/packages/apps/Settings/+/645407c8e603337aee6882fc49c44f49bc5707a6"},{"type":"FIX","url":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"}],"affected":[{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2022-08-01"}]}],"versions":["10"],"ecosystem_specific":{"spl":"2022-08-01","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","deprecated":false,"match_only_versions":["10"],"target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"SecureNfcPreferenceController"},"id":"ASB-A-228314987-18a66c24","digest":{"length":116,"function_hash":"89075410434915536420198620674892884764"}},{"signature_type":"Line","signature_version":"v1","deprecated":false,"source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"id":"ASB-A-228314987-42ca61e2","digest":{"line_hashes":["272109167503583997107311243765290354749","63286712089301751718131653825483666307","223578647578327716723676053904685558081","92993392298164113906188499544629698989","178618027537041364223004786590674847738","258161008170561121974331351658638109557","197774552826717936572650994687404957772","92841685830375913791140906003311285390","218161233665785497972170452609113561771","172889032907903584116621080465823300622","226837440412430644719625387943481803665","314910061929938933018535692921746940315","131424239102018771947341017546740042056","27823716128407417507647055994735050253","320282621406171665750983976927576325808","48127822925468150373568631892975356896"],"threshold":0.9}},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","deprecated":false,"match_only_versions":["10"],"target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"setChecked"},"id":"ASB-A-228314987-c28892c0","digest":{"length":76,"function_hash":"207321593960634909201921155582634271263"}}],"types":["EoP"],"severity":"High","fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-228314987.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2022-08-01"}]}],"versions":["11"],"ecosystem_specific":{"spl":"2022-08-01","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","deprecated":false,"source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"id":"ASB-A-228314987-97ea76ab","digest":{"line_hashes":["272109167503583997107311243765290354749","63286712089301751718131653825483666307","223578647578327716723676053904685558081","92993392298164113906188499544629698989","178618027537041364223004786590674847738","258161008170561121974331351658638109557","197774552826717936572650994687404957772","92841685830375913791140906003311285390","218161233665785497972170452609113561771","172889032907903584116621080465823300622","226837440412430644719625387943481803665","314910061929938933018535692921746940315","131424239102018771947341017546740042056","27823716128407417507647055994735050253","320282621406171665750983976927576325808","48127822925468150373568631892975356896"],"threshold":0.9}},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","deprecated":false,"match_only_versions":["11"],"target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"SecureNfcPreferenceController"},"id":"ASB-A-228314987-a5165c3d","digest":{"length":116,"function_hash":"89075410434915536420198620674892884764"}},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","deprecated":false,"match_only_versions":["11"],"target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"setChecked"},"id":"ASB-A-228314987-e1617c7d","digest":{"length":76,"function_hash":"207321593960634909201921155582634271263"}}],"types":["EoP"],"severity":"High","fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-228314987.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2022-08-01"}]}],"versions":["12"],"ecosystem_specific":{"spl":"2022-08-01","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","deprecated":false,"source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"id":"ASB-A-228314987-09138f38","digest":{"line_hashes":["272109167503583997107311243765290354749","63286712089301751718131653825483666307","223578647578327716723676053904685558081","92993392298164113906188499544629698989","178618027537041364223004786590674847738","258161008170561121974331351658638109557","197774552826717936572650994687404957772","92841685830375913791140906003311285390","218161233665785497972170452609113561771","172889032907903584116621080465823300622","226837440412430644719625387943481803665","314910061929938933018535692921746940315","131424239102018771947341017546740042056","27823716128407417507647055994735050253","320282621406171665750983976927576325808","48127822925468150373568631892975356896"],"threshold":0.9}},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","deprecated":false,"match_only_versions":["12"],"target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"setChecked"},"id":"ASB-A-228314987-ce85645f","digest":{"length":76,"function_hash":"207321593960634909201921155582634271263"}},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","deprecated":false,"match_only_versions":["12"],"target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"SecureNfcPreferenceController"},"id":"ASB-A-228314987-e34c3262","digest":{"length":116,"function_hash":"89075410434915536420198620674892884764"}}],"types":["EoP"],"severity":"High","fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-228314987.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12L:0"},{"fixed":"12L:2022-08-01"}]}],"versions":["12L"],"ecosystem_specific":{"spl":"2022-08-01","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","deprecated":false,"source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"id":"ASB-A-228314987-0878b9f8","digest":{"line_hashes":["272109167503583997107311243765290354749","63286712089301751718131653825483666307","223578647578327716723676053904685558081","92993392298164113906188499544629698989","178618027537041364223004786590674847738","258161008170561121974331351658638109557","197774552826717936572650994687404957772","92841685830375913791140906003311285390","218161233665785497972170452609113561771","172889032907903584116621080465823300622","226837440412430644719625387943481803665","314910061929938933018535692921746940315","131424239102018771947341017546740042056","27823716128407417507647055994735050253","320282621406171665750983976927576325808","48127822925468150373568631892975356896"],"threshold":0.9}},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","deprecated":false,"match_only_versions":["12L"],"target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"SecureNfcPreferenceController"},"id":"ASB-A-228314987-72534e7d","digest":{"length":116,"function_hash":"89075410434915536420198620674892884764"}},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","deprecated":false,"match_only_versions":["12L"],"target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"setChecked"},"id":"ASB-A-228314987-7e37a54d","digest":{"length":76,"function_hash":"207321593960634909201921155582634271263"}}],"types":["EoP"],"severity":"High","fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-228314987.json"}}],"schema_version":"1.7.5"}