In setNiNotification of GpsNetInitiatedHandler.java, there is a possible permissions bypass due to an empty mutable PendingIntent. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.
{
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/8b7811ce591b323549ce12e431a9f3c67a5372d9"
],
"types": [
"EoP"
],
"severity": "High",
"vanir_signatures": [
{
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/frameworks/base/+/8b7811ce591b323549ce12e431a9f3c67a5372d9",
"digest": {
"threshold": 0.9,
"line_hashes": [
"57141771402374943506444044509408161720",
"274057428375888562584514121329737596111",
"145652496039882957379333952445927871354",
"97688537567720862757721685389724416698",
"139122145963004324395830361507533857666",
"63231585868942792336342622950260358008",
"161165112668534886843417182007256599493",
"239705283513759286004433642441149429883",
"200995080633005232385177291793598987622",
"156393830719532173149198413257072590111",
"155738557280113600894787057299773183410",
"63999223285240360490227071946833483534",
"146296754870920387483584432745122437982"
]
},
"id": "ASB-A-154319182-75d85c51",
"deprecated": false,
"target": {
"file": "location/java/com/android/internal/location/GpsNetInitiatedHandler.java"
}
},
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/base/+/8b7811ce591b323549ce12e431a9f3c67a5372d9",
"digest": {
"function_hash": "302377075379807171900877036379394630397",
"length": 1277.0
},
"id": "ASB-A-154319182-e3c9d1ac",
"deprecated": false,
"target": {
"file": "location/java/com/android/internal/location/GpsNetInitiatedHandler.java",
"function": "setNiNotification"
}
}
],
"spl": "2021-07-01"
}
{
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/d541f6d85e9030c5e0e7372332854684d8a32916"
],
"types": [
"EoP"
],
"severity": "High",
"vanir_signatures": [
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/base/+/d541f6d85e9030c5e0e7372332854684d8a32916",
"digest": {
"function_hash": "302377075379807171900877036379394630397",
"length": 1277.0
},
"id": "ASB-A-154319182-b0f5a545",
"deprecated": false,
"target": {
"file": "location/java/com/android/internal/location/GpsNetInitiatedHandler.java",
"function": "setNiNotification"
}
},
{
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/frameworks/base/+/d541f6d85e9030c5e0e7372332854684d8a32916",
"digest": {
"threshold": 0.9,
"line_hashes": [
"57141771402374943506444044509408161720",
"274057428375888562584514121329737596111",
"145652496039882957379333952445927871354",
"97688537567720862757721685389724416698",
"139122145963004324395830361507533857666",
"63231585868942792336342622950260358008",
"161165112668534886843417182007256599493",
"239705283513759286004433642441149429883",
"200995080633005232385177291793598987622",
"156393830719532173149198413257072590111",
"155738557280113600894787057299773183410",
"63999223285240360490227071946833483534",
"146296754870920387483584432745122437982"
]
},
"id": "ASB-A-154319182-c677cb2c",
"deprecated": false,
"target": {
"file": "location/java/com/android/internal/location/GpsNetInitiatedHandler.java"
}
}
],
"spl": "2021-07-01"
}
{
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/2b313d61aed6d99cb2a3ac2dad6f7d3993d0b8ac"
],
"types": [
"EoP"
],
"severity": "High",
"vanir_signatures": [
{
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/frameworks/base/+/2b313d61aed6d99cb2a3ac2dad6f7d3993d0b8ac",
"digest": {
"threshold": 0.9,
"line_hashes": [
"129112561176638373507985579653724453590",
"274057428375888562584514121329737596111",
"145652496039882957379333952445927871354",
"97688537567720862757721685389724416698",
"139122145963004324395830361507533857666",
"63231585868942792336342622950260358008",
"161165112668534886843417182007256599493",
"239705283513759286004433642441149429883",
"200995080633005232385177291793598987622",
"156393830719532173149198413257072590111",
"155738557280113600894787057299773183410",
"63999223285240360490227071946833483534",
"146296754870920387483584432745122437982"
]
},
"id": "ASB-A-154319182-9f997a70",
"deprecated": false,
"target": {
"file": "location/java/com/android/internal/location/GpsNetInitiatedHandler.java"
}
},
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/base/+/2b313d61aed6d99cb2a3ac2dad6f7d3993d0b8ac",
"digest": {
"function_hash": "302377075379807171900877036379394630397",
"length": 1277.0
},
"id": "ASB-A-154319182-b4010899",
"deprecated": false,
"target": {
"file": "location/java/com/android/internal/location/GpsNetInitiatedHandler.java",
"function": "setNiNotification"
}
}
],
"spl": "2021-07-01"
}