{"id":"ASB-A-242703780", "published":"2023-01-01T00:00:00Z", "modified":"2026-04-30T15:48:46.890647439Z", "aliases":["CVE-2022-20456", "A-242703780"], "details":"In AutomaticZenRule 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.", "affected":[{"package":{"name":"platform/frameworks/base", "ecosystem":"Android"}, "ranges":[{"type":"ECOSYSTEM", "events":[{"introduced":"10:0"}, {"fixed":"10:2023-01-01"}]}], "versions":["10"], "ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/frameworks/base/+/c4b2c877ec28e2473104d9fcdcf321bd81da881b", "https://android.googlesource.com/platform/frameworks/base/+/303f6bde896877793370c1697fa8c8331b808e56"], "severity":"High", "spl":"2023-01-01", "types":["EoP"], "vanir_signatures":[{"deprecated":false, "digest":{"function_hash":"252676310824881644848101477234733272716", "length":513}, "id":"ASB-A-242703780-418007eb", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/303f6bde896877793370c1697fa8c8331b808e56", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}, {"deprecated":false, "digest":{"function_hash":"239581423764619223356691413254572772412", "length":474}, "id":"ASB-A-242703780-6001ec12", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/c4b2c877ec28e2473104d9fcdcf321bd81da881b", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}, {"deprecated":false, "digest":{"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"], "threshold":0.9}, "id":"ASB-A-242703780-6b939ef5", "signature_type":"Line", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/c4b2c877ec28e2473104d9fcdcf321bd81da881b", "target":{"file":"core/java/android/app/AutomaticZenRule.java"}}, {"deprecated":false, "digest":{"function_hash":"218610421173553910482080296254006711911", "length":331}, "id":"ASB-A-242703780-aa1ba047", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/c4b2c877ec28e2473104d9fcdcf321bd81da881b", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}, {"deprecated":false, "digest":{"function_hash":"54435919092991176024295105323017108803", "length":84}, "id":"ASB-A-242703780-d14e679a", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/c4b2c877ec28e2473104d9fcdcf321bd81da881b", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"setConfigurationActivity"}}, {"deprecated":false, "digest":{"line_hashes":["118052609716842766825613052740535763094", "260880535093338782620659363747911349297", "311073799531411033063728070650378112909", "131157691593798123417840052064083801209"], "threshold":0.9}, "id":"ASB-A-242703780-dc46177a", "signature_type":"Line", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/303f6bde896877793370c1697fa8c8331b808e56", "target":{"file":"core/java/android/app/AutomaticZenRule.java"}}]}}, {"package":{"name":"platform/frameworks/base", "ecosystem":"Android"}, "ranges":[{"type":"ECOSYSTEM", "events":[{"introduced":"11:0"}, {"fixed":"11:2023-01-01"}]}], "versions":["11"], "ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/frameworks/base/+/1fcd99f5aa3490431154d1e80b854aafab821345", "https://android.googlesource.com/platform/frameworks/base/+/83d23fb275d2bcfb090a9c6efd6c71a5f519372f"], "severity":"High", "spl":"2023-01-01", "types":["EoP"], "vanir_signatures":[{"deprecated":false, "digest":{"line_hashes":["118052609716842766825613052740535763094", "260880535093338782620659363747911349297", "311073799531411033063728070650378112909", "131157691593798123417840052064083801209"], "threshold":0.9}, "id":"ASB-A-242703780-08b36727", "signature_type":"Line", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/83d23fb275d2bcfb090a9c6efd6c71a5f519372f", "target":{"file":"core/java/android/app/AutomaticZenRule.java"}}, {"deprecated":false, "digest":{"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"], "threshold":0.9}, "id":"ASB-A-242703780-0d52a0f3", "signature_type":"Line", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/1fcd99f5aa3490431154d1e80b854aafab821345", "target":{"file":"core/java/android/app/AutomaticZenRule.java"}}, {"deprecated":false, "digest":{"function_hash":"218610421173553910482080296254006711911", "length":331}, "id":"ASB-A-242703780-29bc9429", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/1fcd99f5aa3490431154d1e80b854aafab821345", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}, {"deprecated":false, "digest":{"function_hash":"239581423764619223356691413254572772412", "length":474}, "id":"ASB-A-242703780-6232056c", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/1fcd99f5aa3490431154d1e80b854aafab821345", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}, {"deprecated":false, "digest":{"function_hash":"54435919092991176024295105323017108803", "length":84}, "id":"ASB-A-242703780-862603ae", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/1fcd99f5aa3490431154d1e80b854aafab821345", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"setConfigurationActivity"}}, {"deprecated":false, "digest":{"function_hash":"252676310824881644848101477234733272716", "length":513}, "id":"ASB-A-242703780-a94fb05c", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/83d23fb275d2bcfb090a9c6efd6c71a5f519372f", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}]}}, {"package":{"name":"platform/frameworks/base", "ecosystem":"Android"}, "ranges":[{"type":"ECOSYSTEM", "events":[{"introduced":"12:0"}, {"fixed":"12:2023-01-01"}]}], "versions":["12"], "ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/frameworks/base/+/19bc2c3559620ed00e448117e65f6b44e6eb6d9b", "https://android.googlesource.com/platform/frameworks/base/+/7533d0420d85d56ec42bdb30a2ef1ae55ae95080"], "severity":"High", "spl":"2023-01-01", "types":["EoP"], "vanir_signatures":[{"deprecated":false, "digest":{"line_hashes":["118052609716842766825613052740535763094", "260880535093338782620659363747911349297", "311073799531411033063728070650378112909", "131157691593798123417840052064083801209"], "threshold":0.9}, "id":"ASB-A-242703780-134223b4", "signature_type":"Line", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/7533d0420d85d56ec42bdb30a2ef1ae55ae95080", "target":{"file":"core/java/android/app/AutomaticZenRule.java"}}, {"deprecated":false, "digest":{"function_hash":"54435919092991176024295105323017108803", "length":84}, "id":"ASB-A-242703780-4eecc365", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/19bc2c3559620ed00e448117e65f6b44e6eb6d9b", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"setConfigurationActivity"}}, {"deprecated":false, "digest":{"function_hash":"252676310824881644848101477234733272716", "length":513}, "id":"ASB-A-242703780-c29194d5", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/7533d0420d85d56ec42bdb30a2ef1ae55ae95080", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}, {"deprecated":false, "digest":{"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"], "threshold":0.9}, "id":"ASB-A-242703780-ddb3bf61", "signature_type":"Line", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/19bc2c3559620ed00e448117e65f6b44e6eb6d9b", "target":{"file":"core/java/android/app/AutomaticZenRule.java"}}, {"deprecated":false, "digest":{"function_hash":"239581423764619223356691413254572772412", "length":474}, "id":"ASB-A-242703780-e0059f0e", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/19bc2c3559620ed00e448117e65f6b44e6eb6d9b", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}, {"deprecated":false, "digest":{"function_hash":"218610421173553910482080296254006711911", "length":331}, "id":"ASB-A-242703780-ec3ddb88", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/19bc2c3559620ed00e448117e65f6b44e6eb6d9b", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}]}}, {"package":{"name":"platform/frameworks/base", "ecosystem":"Android"}, "ranges":[{"type":"ECOSYSTEM", "events":[{"introduced":"12L:0"}, {"fixed":"12L:2023-01-01"}]}], "versions":["12L"], "ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/frameworks/base/+/3d8504587cd8f1b4bd5a6f1a3c9b107f49b976f2", "https://android.googlesource.com/platform/frameworks/base/+/53d493b0e5a093ff4f4fad4b8c127d6299fc1513"], "severity":"High", "spl":"2023-01-01", "types":["EoP"], "vanir_signatures":[{"deprecated":false, "digest":{"function_hash":"218610421173553910482080296254006711911", "length":331}, "id":"ASB-A-242703780-584c92e7", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/3d8504587cd8f1b4bd5a6f1a3c9b107f49b976f2", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}, {"deprecated":false, "digest":{"line_hashes":["118052609716842766825613052740535763094", "260880535093338782620659363747911349297", "311073799531411033063728070650378112909", "131157691593798123417840052064083801209"], "threshold":0.9}, "id":"ASB-A-242703780-621f51c2", "signature_type":"Line", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/53d493b0e5a093ff4f4fad4b8c127d6299fc1513", "target":{"file":"core/java/android/app/AutomaticZenRule.java"}}, {"deprecated":false, "digest":{"function_hash":"239581423764619223356691413254572772412", "length":474}, "id":"ASB-A-242703780-6762707c", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/3d8504587cd8f1b4bd5a6f1a3c9b107f49b976f2", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}, {"deprecated":false, "digest":{"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"], "threshold":0.9}, "id":"ASB-A-242703780-88162b68", "signature_type":"Line", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/3d8504587cd8f1b4bd5a6f1a3c9b107f49b976f2", "target":{"file":"core/java/android/app/AutomaticZenRule.java"}}, {"deprecated":false, "digest":{"function_hash":"252676310824881644848101477234733272716", "length":513}, "id":"ASB-A-242703780-ac3c90d4", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/53d493b0e5a093ff4f4fad4b8c127d6299fc1513", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}, {"deprecated":false, "digest":{"function_hash":"54435919092991176024295105323017108803", "length":84}, "id":"ASB-A-242703780-c22dc10b", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/3d8504587cd8f1b4bd5a6f1a3c9b107f49b976f2", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"setConfigurationActivity"}}]}}, {"package":{"name":"platform/frameworks/base", "ecosystem":"Android"}, "ranges":[{"type":"ECOSYSTEM", "events":[{"introduced":"13:0"}, {"fixed":"13:2023-01-01"}]}], "versions":["13"], "ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/frameworks/base/+/d4b5212eb6d6f9ecb967d8403d1d8dd63cf69afb"], "severity":"High", "spl":"2023-01-01", "types":["EoP"], "vanir_signatures":[{"deprecated":false, "digest":{"function_hash":"218610421173553910482080296254006711911", "length":331}, "id":"ASB-A-242703780-0c35187f", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/d4b5212eb6d6f9ecb967d8403d1d8dd63cf69afb", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}, {"deprecated":false, "digest":{"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"], "threshold":0.9}, "id":"ASB-A-242703780-1fbf3437", "signature_type":"Line", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/d4b5212eb6d6f9ecb967d8403d1d8dd63cf69afb", "target":{"file":"core/java/android/app/AutomaticZenRule.java"}}, {"deprecated":false, "digest":{"function_hash":"54435919092991176024295105323017108803", "length":84}, "id":"ASB-A-242703780-45b81ccd", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/d4b5212eb6d6f9ecb967d8403d1d8dd63cf69afb", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"setConfigurationActivity"}}, {"deprecated":false, "digest":{"function_hash":"32242279726309224801512253087544471698", "length":538}, "id":"ASB-A-242703780-97c37cb5", "signature_type":"Function", "signature_version":"v1", "source":"https://android.googlesource.com/platform/frameworks/base/+/d4b5212eb6d6f9ecb967d8403d1d8dd63cf69afb", "target":{"file":"core/java/android/app/AutomaticZenRule.java", "function":"AutomaticZenRule"}}]}}], "references":[{"type":"ADVISORY", "url":"https://source.android.com/security/bulletin/2023-01-01"}, {"type":"FIX", "url":"https://android.googlesource.com/platform/frameworks/base/+/de172ba0d434c940be9e2aad8685719731ab7da2"}]}