{"id":"ASB-A-242703505","details":"In multiple functions of AutomaticZenRule.java, there is a possible failure to persist permissions settings due to resource exhaustion. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.","aliases":["A-242703505","CVE-2022-20490"],"modified":"2026-04-29T15:10:00.007170Z","published":"2023-01-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2023-01-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/frameworks/base/+/de172ba0d434c940be9e2aad8685719731ab7da2"}],"affected":[{"package":{"name":"platform/frameworks/base","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2023-01-01"}]}],"versions":["10"],"ecosystem_specific":{"spl":"2023-01-01","vanir_signatures":[{"id":"ASB-A-242703505-418007eb","source":"https://android.googlesource.com/platform/frameworks/base/+/303f6bde896877793370c1697fa8c8331b808e56","signature_version":"v1","digest":{"function_hash":"252676310824881644848101477234733272716","length":513},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-6001ec12","source":"https://android.googlesource.com/platform/frameworks/base/+/c4b2c877ec28e2473104d9fcdcf321bd81da881b","signature_version":"v1","digest":{"function_hash":"239581423764619223356691413254572772412","length":474},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-6b939ef5","source":"https://android.googlesource.com/platform/frameworks/base/+/c4b2c877ec28e2473104d9fcdcf321bd81da881b","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["265153882079873093703653664223358537220","191536074921329372410358820982005752303","245789393184621985081338706046274992700","113019480759519963094145187121309850505","321330425276678865450328651549586582339","43606453606304995329062031171654129474","181333889253560852706565540268479003175","211593925556087990764577087911002622153","274423793041550771749370464593325723592","307898378791436685298815716415843617016","339322679641138142032443671455440092047","123261267301555928350699799990122356204","23481785052486591019073472522057437047","17564015395934891529182071334606568881","146333088822289616163336145808448155670","47083999307296385146385180081195941763","309315646582182745541914540411605412638","293009783378118820715355046599983097765","118961936587444934498997541510140245573","25676558174302700686853938492477866379","187759754030437398669778881614856598458","219969307711784288285466301538429559244","66998203647859785416848278157495621883","172357490107982799040920503978590210448","268476911167730163049053135728491417453","106860415481486380352910241743486910977","225537671265174002389349271134311575554","82011821962012512973984914259475422942","257777813692069808942979802035819520874","21734315547638321957556695457137892614","222972439696655229951459973676194075993","76455724406750721400144232440501942922","106176914181823536843760781786749748357"]},"signature_type":"Line","deprecated":false,"target":{"file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-aa1ba047","source":"https://android.googlesource.com/platform/frameworks/base/+/c4b2c877ec28e2473104d9fcdcf321bd81da881b","signature_version":"v1","digest":{"function_hash":"218610421173553910482080296254006711911","length":331},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-d14e679a","source":"https://android.googlesource.com/platform/frameworks/base/+/c4b2c877ec28e2473104d9fcdcf321bd81da881b","signature_version":"v1","digest":{"function_hash":"54435919092991176024295105323017108803","length":84},"signature_type":"Function","deprecated":false,"target":{"function":"setConfigurationActivity","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-dc46177a","source":"https://android.googlesource.com/platform/frameworks/base/+/303f6bde896877793370c1697fa8c8331b808e56","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["118052609716842766825613052740535763094","260880535093338782620659363747911349297","311073799531411033063728070650378112909","131157691593798123417840052064083801209"]},"signature_type":"Line","deprecated":false,"target":{"file":"core/java/android/app/AutomaticZenRule.java"}}],"types":["EoP"],"fixes":["https://android.googlesource.com/platform/frameworks/base/+/c4b2c877ec28e2473104d9fcdcf321bd81da881b","https://android.googlesource.com/platform/frameworks/base/+/303f6bde896877793370c1697fa8c8331b808e56"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-242703505.json"}},{"package":{"name":"platform/frameworks/base","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2023-01-01"}]}],"versions":["11"],"ecosystem_specific":{"spl":"2023-01-01","vanir_signatures":[{"id":"ASB-A-242703505-08b36727","source":"https://android.googlesource.com/platform/frameworks/base/+/83d23fb275d2bcfb090a9c6efd6c71a5f519372f","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["118052609716842766825613052740535763094","260880535093338782620659363747911349297","311073799531411033063728070650378112909","131157691593798123417840052064083801209"]},"signature_type":"Line","deprecated":false,"target":{"file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-0d52a0f3","source":"https://android.googlesource.com/platform/frameworks/base/+/1fcd99f5aa3490431154d1e80b854aafab821345","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["265153882079873093703653664223358537220","191536074921329372410358820982005752303","245789393184621985081338706046274992700","113019480759519963094145187121309850505","321330425276678865450328651549586582339","43606453606304995329062031171654129474","181333889253560852706565540268479003175","211593925556087990764577087911002622153","274423793041550771749370464593325723592","307898378791436685298815716415843617016","339322679641138142032443671455440092047","123261267301555928350699799990122356204","23481785052486591019073472522057437047","17564015395934891529182071334606568881","146333088822289616163336145808448155670","47083999307296385146385180081195941763","309315646582182745541914540411605412638","293009783378118820715355046599983097765","118961936587444934498997541510140245573","25676558174302700686853938492477866379","187759754030437398669778881614856598458","219969307711784288285466301538429559244","66998203647859785416848278157495621883","172357490107982799040920503978590210448","268476911167730163049053135728491417453","106860415481486380352910241743486910977","225537671265174002389349271134311575554","82011821962012512973984914259475422942","257777813692069808942979802035819520874","21734315547638321957556695457137892614","222972439696655229951459973676194075993","76455724406750721400144232440501942922","106176914181823536843760781786749748357"]},"signature_type":"Line","deprecated":false,"target":{"file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-29bc9429","source":"https://android.googlesource.com/platform/frameworks/base/+/1fcd99f5aa3490431154d1e80b854aafab821345","signature_version":"v1","digest":{"function_hash":"218610421173553910482080296254006711911","length":331},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-6232056c","source":"https://android.googlesource.com/platform/frameworks/base/+/1fcd99f5aa3490431154d1e80b854aafab821345","signature_version":"v1","digest":{"function_hash":"239581423764619223356691413254572772412","length":474},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-862603ae","source":"https://android.googlesource.com/platform/frameworks/base/+/1fcd99f5aa3490431154d1e80b854aafab821345","signature_version":"v1","digest":{"function_hash":"54435919092991176024295105323017108803","length":84},"signature_type":"Function","deprecated":false,"target":{"function":"setConfigurationActivity","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-a94fb05c","source":"https://android.googlesource.com/platform/frameworks/base/+/83d23fb275d2bcfb090a9c6efd6c71a5f519372f","signature_version":"v1","digest":{"function_hash":"252676310824881644848101477234733272716","length":513},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}}],"types":["EoP"],"fixes":["https://android.googlesource.com/platform/frameworks/base/+/1fcd99f5aa3490431154d1e80b854aafab821345","https://android.googlesource.com/platform/frameworks/base/+/83d23fb275d2bcfb090a9c6efd6c71a5f519372f"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-242703505.json"}},{"package":{"name":"platform/frameworks/base","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2023-01-01"}]}],"versions":["12"],"ecosystem_specific":{"spl":"2023-01-01","vanir_signatures":[{"id":"ASB-A-242703505-134223b4","source":"https://android.googlesource.com/platform/frameworks/base/+/7533d0420d85d56ec42bdb30a2ef1ae55ae95080","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["118052609716842766825613052740535763094","260880535093338782620659363747911349297","311073799531411033063728070650378112909","131157691593798123417840052064083801209"]},"signature_type":"Line","deprecated":false,"target":{"file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-4eecc365","source":"https://android.googlesource.com/platform/frameworks/base/+/19bc2c3559620ed00e448117e65f6b44e6eb6d9b","signature_version":"v1","digest":{"function_hash":"54435919092991176024295105323017108803","length":84},"signature_type":"Function","deprecated":false,"target":{"function":"setConfigurationActivity","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-c29194d5","source":"https://android.googlesource.com/platform/frameworks/base/+/7533d0420d85d56ec42bdb30a2ef1ae55ae95080","signature_version":"v1","digest":{"function_hash":"252676310824881644848101477234733272716","length":513},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-ddb3bf61","source":"https://android.googlesource.com/platform/frameworks/base/+/19bc2c3559620ed00e448117e65f6b44e6eb6d9b","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["265153882079873093703653664223358537220","191536074921329372410358820982005752303","245789393184621985081338706046274992700","113019480759519963094145187121309850505","321330425276678865450328651549586582339","43606453606304995329062031171654129474","181333889253560852706565540268479003175","211593925556087990764577087911002622153","274423793041550771749370464593325723592","307898378791436685298815716415843617016","339322679641138142032443671455440092047","123261267301555928350699799990122356204","23481785052486591019073472522057437047","17564015395934891529182071334606568881","146333088822289616163336145808448155670","47083999307296385146385180081195941763","309315646582182745541914540411605412638","293009783378118820715355046599983097765","118961936587444934498997541510140245573","25676558174302700686853938492477866379","187759754030437398669778881614856598458","219969307711784288285466301538429559244","66998203647859785416848278157495621883","172357490107982799040920503978590210448","268476911167730163049053135728491417453","106860415481486380352910241743486910977","225537671265174002389349271134311575554","82011821962012512973984914259475422942","257777813692069808942979802035819520874","21734315547638321957556695457137892614","222972439696655229951459973676194075993","76455724406750721400144232440501942922","106176914181823536843760781786749748357"]},"signature_type":"Line","deprecated":false,"target":{"file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-e0059f0e","source":"https://android.googlesource.com/platform/frameworks/base/+/19bc2c3559620ed00e448117e65f6b44e6eb6d9b","signature_version":"v1","digest":{"function_hash":"239581423764619223356691413254572772412","length":474},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-ec3ddb88","source":"https://android.googlesource.com/platform/frameworks/base/+/19bc2c3559620ed00e448117e65f6b44e6eb6d9b","signature_version":"v1","digest":{"function_hash":"218610421173553910482080296254006711911","length":331},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}}],"types":["EoP"],"fixes":["https://android.googlesource.com/platform/frameworks/base/+/19bc2c3559620ed00e448117e65f6b44e6eb6d9b","https://android.googlesource.com/platform/frameworks/base/+/7533d0420d85d56ec42bdb30a2ef1ae55ae95080"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-242703505.json"}},{"package":{"name":"platform/frameworks/base","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12L:0"},{"fixed":"12L:2023-01-01"}]}],"versions":["12L"],"ecosystem_specific":{"spl":"2023-01-01","vanir_signatures":[{"id":"ASB-A-242703505-584c92e7","source":"https://android.googlesource.com/platform/frameworks/base/+/3d8504587cd8f1b4bd5a6f1a3c9b107f49b976f2","signature_version":"v1","digest":{"function_hash":"218610421173553910482080296254006711911","length":331},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-621f51c2","source":"https://android.googlesource.com/platform/frameworks/base/+/53d493b0e5a093ff4f4fad4b8c127d6299fc1513","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["118052609716842766825613052740535763094","260880535093338782620659363747911349297","311073799531411033063728070650378112909","131157691593798123417840052064083801209"]},"signature_type":"Line","deprecated":false,"target":{"file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-6762707c","source":"https://android.googlesource.com/platform/frameworks/base/+/3d8504587cd8f1b4bd5a6f1a3c9b107f49b976f2","signature_version":"v1","digest":{"function_hash":"239581423764619223356691413254572772412","length":474},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-88162b68","source":"https://android.googlesource.com/platform/frameworks/base/+/3d8504587cd8f1b4bd5a6f1a3c9b107f49b976f2","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["265153882079873093703653664223358537220","191536074921329372410358820982005752303","245789393184621985081338706046274992700","113019480759519963094145187121309850505","321330425276678865450328651549586582339","43606453606304995329062031171654129474","181333889253560852706565540268479003175","211593925556087990764577087911002622153","274423793041550771749370464593325723592","307898378791436685298815716415843617016","339322679641138142032443671455440092047","123261267301555928350699799990122356204","23481785052486591019073472522057437047","17564015395934891529182071334606568881","146333088822289616163336145808448155670","47083999307296385146385180081195941763","309315646582182745541914540411605412638","293009783378118820715355046599983097765","118961936587444934498997541510140245573","25676558174302700686853938492477866379","187759754030437398669778881614856598458","219969307711784288285466301538429559244","66998203647859785416848278157495621883","172357490107982799040920503978590210448","268476911167730163049053135728491417453","106860415481486380352910241743486910977","225537671265174002389349271134311575554","82011821962012512973984914259475422942","257777813692069808942979802035819520874","21734315547638321957556695457137892614","222972439696655229951459973676194075993","76455724406750721400144232440501942922","106176914181823536843760781786749748357"]},"signature_type":"Line","deprecated":false,"target":{"file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-ac3c90d4","source":"https://android.googlesource.com/platform/frameworks/base/+/53d493b0e5a093ff4f4fad4b8c127d6299fc1513","signature_version":"v1","digest":{"function_hash":"252676310824881644848101477234733272716","length":513},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-c22dc10b","source":"https://android.googlesource.com/platform/frameworks/base/+/3d8504587cd8f1b4bd5a6f1a3c9b107f49b976f2","signature_version":"v1","digest":{"function_hash":"54435919092991176024295105323017108803","length":84},"signature_type":"Function","deprecated":false,"target":{"function":"setConfigurationActivity","file":"core/java/android/app/AutomaticZenRule.java"}}],"types":["EoP"],"fixes":["https://android.googlesource.com/platform/frameworks/base/+/3d8504587cd8f1b4bd5a6f1a3c9b107f49b976f2","https://android.googlesource.com/platform/frameworks/base/+/53d493b0e5a093ff4f4fad4b8c127d6299fc1513"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-242703505.json"}},{"package":{"name":"platform/frameworks/base","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13:0"},{"fixed":"13:2023-01-01"}]}],"versions":["13"],"ecosystem_specific":{"spl":"2023-01-01","vanir_signatures":[{"id":"ASB-A-242703505-0c35187f","source":"https://android.googlesource.com/platform/frameworks/base/+/d4b5212eb6d6f9ecb967d8403d1d8dd63cf69afb","signature_version":"v1","digest":{"function_hash":"218610421173553910482080296254006711911","length":331},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-1fbf3437","source":"https://android.googlesource.com/platform/frameworks/base/+/d4b5212eb6d6f9ecb967d8403d1d8dd63cf69afb","signature_version":"v1","digest":{"threshold":0.9,"line_hashes":["265153882079873093703653664223358537220","191536074921329372410358820982005752303","245789393184621985081338706046274992700","113019480759519963094145187121309850505","321330425276678865450328651549586582339","43606453606304995329062031171654129474","181333889253560852706565540268479003175","211593925556087990764577087911002622153","274423793041550771749370464593325723592","307898378791436685298815716415843617016","339322679641138142032443671455440092047","123261267301555928350699799990122356204","23481785052486591019073472522057437047","185948363558465796943052316505745260487","66930503863633207074299292084328669241","151202995562234904709046900221069516979","90756202342359830181094366066674059278","18077776256832946655490132532300172739","162102728238471257738348260136745244973","25676558174302700686853938492477866379","187759754030437398669778881614856598458","219969307711784288285466301538429559244","66998203647859785416848278157495621883","172357490107982799040920503978590210448","268476911167730163049053135728491417453","106860415481486380352910241743486910977","225537671265174002389349271134311575554","82011821962012512973984914259475422942","257777813692069808942979802035819520874","21734315547638321957556695457137892614","222972439696655229951459973676194075993","76455724406750721400144232440501942922","106176914181823536843760781786749748357"]},"signature_type":"Line","deprecated":false,"target":{"file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-45b81ccd","source":"https://android.googlesource.com/platform/frameworks/base/+/d4b5212eb6d6f9ecb967d8403d1d8dd63cf69afb","signature_version":"v1","digest":{"function_hash":"54435919092991176024295105323017108803","length":84},"signature_type":"Function","deprecated":false,"target":{"function":"setConfigurationActivity","file":"core/java/android/app/AutomaticZenRule.java"}},{"id":"ASB-A-242703505-97c37cb5","source":"https://android.googlesource.com/platform/frameworks/base/+/d4b5212eb6d6f9ecb967d8403d1d8dd63cf69afb","signature_version":"v1","digest":{"function_hash":"32242279726309224801512253087544471698","length":538},"signature_type":"Function","deprecated":false,"target":{"function":"AutomaticZenRule","file":"core/java/android/app/AutomaticZenRule.java"}}],"types":["EoP"],"fixes":["https://android.googlesource.com/platform/frameworks/base/+/d4b5212eb6d6f9ecb967d8403d1d8dd63cf69afb"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-242703505.json"}}],"schema_version":"1.7.5"}