{"id":"ASB-A-221859869","details":"In choosePrivateKeyAlias of KeyChain.java, there is a possible access to the user's certificate due to improper input validation. This could lead to local information disclosure with no additional execution privileges needed. User interaction is needed for exploitation.","aliases":["A-221859869","CVE-2022-20230"],"modified":"2026-09-18T15:47:37.392928379Z","published":"2022-07-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2022-07-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/packages/apps/KeyChain/+/2184df9eef9ad67630d3540cb97e70ec61e8f65c"}],"affected":[{"package":{"name":"platform/packages/apps/KeyChain","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2022-07-01"}]}],"versions":["10"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d"],"severity":"High","spl":"2022-07-01","types":["ID"],"vanir_signatures":[{"signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d","target":{"function":"displayCertChooserDialog","file":"src/com/android/keychain/KeyChainActivity.java"},"deprecated":false,"digest":{"function_hash":"217097974442006814018562164758440435565","length":3074},"id":"ASB-A-221859869-72401f2b","signature_type":"Function"},{"source":"https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d","target":{"file":"src/com/android/keychain/KeyChainActivity.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["99130679458070978976267941306104831263","63623956792992716364492851979458897828","249735570373909973786809012441181035085","229317488880240282701798776191960606988"]},"id":"ASB-A-221859869-d4cb2a48","signature_type":"Line","signature_version":"v1"}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-221859869.json"}},{"package":{"name":"platform/packages/apps/KeyChain","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2022-07-01"}]}],"versions":["11"],"ecosystem_specific":{"severity":"High","spl":"2022-07-01","types":["ID"],"vanir_signatures":[{"target":{"file":"src/com/android/keychain/KeyChainActivity.java","function":"displayCertChooserDialog"},"deprecated":false,"digest":{"length":3074,"function_hash":"217097974442006814018562164758440435565"},"id":"ASB-A-221859869-14baa12e","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d"},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["99130679458070978976267941306104831263","63623956792992716364492851979458897828","249735570373909973786809012441181035085","229317488880240282701798776191960606988"]},"id":"ASB-A-221859869-e68ff6cc","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d","target":{"file":"src/com/android/keychain/KeyChainActivity.java"}}],"fixes":["https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-221859869.json"}},{"package":{"name":"platform/packages/apps/KeyChain","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2022-07-01"}]}],"versions":["12"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d"],"severity":"High","spl":"2022-07-01","types":["ID"],"vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d","target":{"file":"src/com/android/keychain/KeyChainActivity.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["99130679458070978976267941306104831263","63623956792992716364492851979458897828","249735570373909973786809012441181035085","229317488880240282701798776191960606988"]},"id":"ASB-A-221859869-893e3ce2"},{"id":"ASB-A-221859869-d39a2c0d","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d","target":{"file":"src/com/android/keychain/KeyChainActivity.java","function":"displayCertChooserDialog"},"deprecated":false,"digest":{"function_hash":"217097974442006814018562164758440435565","length":3074}}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-221859869.json"}},{"package":{"name":"platform/packages/apps/KeyChain","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12L:0"},{"fixed":"12L:2022-07-01"}]}],"versions":["12L"],"ecosystem_specific":{"types":["ID"],"vanir_signatures":[{"digest":{"function_hash":"217097974442006814018562164758440435565","length":3074},"id":"ASB-A-221859869-ad7ad185","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d","target":{"file":"src/com/android/keychain/KeyChainActivity.java","function":"displayCertChooserDialog"},"deprecated":false},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["99130679458070978976267941306104831263","63623956792992716364492851979458897828","249735570373909973786809012441181035085","229317488880240282701798776191960606988"]},"id":"ASB-A-221859869-e7a11022","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d","target":{"file":"src/com/android/keychain/KeyChainActivity.java"}}],"fixes":["https://android.googlesource.com/platform/packages/apps/KeyChain/+/8550c37c186099926ce364b65b61ffbf6ed7958d"],"severity":"High","spl":"2022-07-01"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-221859869.json"}}],"schema_version":"1.9.0"}