In isFileUri of UriUtil.java, there is a possible way to bypass ignoring file://URI attachment due to improper handling of case sensitivity. This could lead to local information disclosure with no additional execution privileges needed. User interaction is needed for exploitation.
{
"types": [
"ID"
],
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Messaging/+/58ee29c68e1914af680ef0658bdb7a94e4e5e3a3"
],
"vanir_signatures": [
{
"source": "https://android.googlesource.com/platform/packages/apps/Messaging/+/58ee29c68e1914af680ef0658bdb7a94e4e5e3a3",
"target": {
"function": "isFileUri",
"file": "src/com/android/messaging/util/UriUtil.java"
},
"deprecated": false,
"id": "PUB-A-197328178-42d4e8a5",
"signature_version": "v1",
"digest": {
"length": 144.0,
"function_hash": "215906812200237166193055551140352639749"
},
"signature_type": "Function"
},
{
"source": "https://android.googlesource.com/platform/packages/apps/Messaging/+/58ee29c68e1914af680ef0658bdb7a94e4e5e3a3",
"target": {
"file": "src/com/android/messaging/util/UriUtil.java"
},
"deprecated": false,
"id": "PUB-A-197328178-6c72e01b",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"103653353624183390521670018533190571615",
"133813972390159506732618602924434228330",
"249063719175213754932534929031738680016",
"331358903205481392733917350499276060077",
"139158967101698425159438100258288722224"
]
},
"signature_type": "Line"
}
],
"severity": "Moderate",
"spl": "2021-12-01"
}