{"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-09-18T15:47:37.392928379Z","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":{"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"],"severity":"High","spl":"2022-08-01","types":["EoP"],"vanir_signatures":[{"source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"SecureNfcPreferenceController"},"deprecated":false,"digest":{"function_hash":"89075410434915536420198620674892884764","length":116},"id":"ASB-A-228314987-18a66c24","match_only_versions":["10"],"signature_type":"Function","signature_version":"v1"},{"id":"ASB-A-228314987-42ca61e2","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"deprecated":false,"digest":{"line_hashes":["272109167503583997107311243765290354749","63286712089301751718131653825483666307","223578647578327716723676053904685558081","92993392298164113906188499544629698989","178618027537041364223004786590674847738","258161008170561121974331351658638109557","197774552826717936572650994687404957772","92841685830375913791140906003311285390","218161233665785497972170452609113561771","172889032907903584116621080465823300622","226837440412430644719625387943481803665","314910061929938933018535692921746940315","131424239102018771947341017546740042056","27823716128407417507647055994735050253","320282621406171665750983976927576325808","48127822925468150373568631892975356896"],"threshold":0.9}},{"target":{"function":"setChecked","file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"deprecated":false,"digest":{"function_hash":"207321593960634909201921155582634271263","length":76},"id":"ASB-A-228314987-c28892c0","match_only_versions":["10"],"signature_type":"Function","signature_version":"v1","source":"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":{"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"],"severity":"High","spl":"2022-08-01","types":["EoP"],"vanir_signatures":[{"digest":{"line_hashes":["272109167503583997107311243765290354749","63286712089301751718131653825483666307","223578647578327716723676053904685558081","92993392298164113906188499544629698989","178618027537041364223004786590674847738","258161008170561121974331351658638109557","197774552826717936572650994687404957772","92841685830375913791140906003311285390","218161233665785497972170452609113561771","172889032907903584116621080465823300622","226837440412430644719625387943481803665","314910061929938933018535692921746940315","131424239102018771947341017546740042056","27823716128407417507647055994735050253","320282621406171665750983976927576325808","48127822925468150373568631892975356896"],"threshold":0.9},"id":"ASB-A-228314987-97ea76ab","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"deprecated":false},{"deprecated":false,"digest":{"function_hash":"89075410434915536420198620674892884764","length":116},"id":"ASB-A-228314987-a5165c3d","match_only_versions":["11"],"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"SecureNfcPreferenceController"}},{"digest":{"function_hash":"207321593960634909201921155582634271263","length":76},"id":"ASB-A-228314987-e1617c7d","match_only_versions":["11"],"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"setChecked"},"deprecated":false}]},"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":{"severity":"High","spl":"2022-08-01","types":["EoP"],"vanir_signatures":[{"signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["272109167503583997107311243765290354749","63286712089301751718131653825483666307","223578647578327716723676053904685558081","92993392298164113906188499544629698989","178618027537041364223004786590674847738","258161008170561121974331351658638109557","197774552826717936572650994687404957772","92841685830375913791140906003311285390","218161233665785497972170452609113561771","172889032907903584116621080465823300622","226837440412430644719625387943481803665","314910061929938933018535692921746940315","131424239102018771947341017546740042056","27823716128407417507647055994735050253","320282621406171665750983976927576325808","48127822925468150373568631892975356896"]},"id":"ASB-A-228314987-09138f38","signature_type":"Line"},{"match_only_versions":["12"],"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"function":"setChecked","file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"deprecated":false,"digest":{"function_hash":"207321593960634909201921155582634271263","length":76},"id":"ASB-A-228314987-ce85645f"},{"match_only_versions":["12"],"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"SecureNfcPreferenceController"},"deprecated":false,"digest":{"function_hash":"89075410434915536420198620674892884764","length":116},"id":"ASB-A-228314987-e34c3262"}],"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":{"types":["EoP"],"vanir_signatures":[{"signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["272109167503583997107311243765290354749","63286712089301751718131653825483666307","223578647578327716723676053904685558081","92993392298164113906188499544629698989","178618027537041364223004786590674847738","258161008170561121974331351658638109557","197774552826717936572650994687404957772","92841685830375913791140906003311285390","218161233665785497972170452609113561771","172889032907903584116621080465823300622","226837440412430644719625387943481803665","314910061929938933018535692921746940315","131424239102018771947341017546740042056","27823716128407417507647055994735050253","320282621406171665750983976927576325808","48127822925468150373568631892975356896"]},"id":"ASB-A-228314987-0878b9f8","signature_type":"Line"},{"digest":{"function_hash":"89075410434915536420198620674892884764","length":116},"id":"ASB-A-228314987-72534e7d","match_only_versions":["12L"],"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"function":"SecureNfcPreferenceController","file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"deprecated":false},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"setChecked"},"deprecated":false,"digest":{"function_hash":"207321593960634909201921155582634271263","length":76},"id":"ASB-A-228314987-7e37a54d","match_only_versions":["12L"]}],"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"],"severity":"High","spl":"2022-08-01"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-228314987.json"}}],"schema_version":"1.9.0"}