In verifyHostName of OkHostnameVerifier.java, there is a possible way to accept a certificate for the wrong domain due to improperly used crypto. This could lead to remote information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"fixes": [
"https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc"
],
"types": [
"ID"
],
"severity": "High",
"vanir_signatures": [
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 1172.0,
"function_hash": "205612780247887574406662095825899160911"
},
"id": "ASB-A-171980069-4e0a0c07",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 340.0,
"function_hash": "61535180085388431010717666557718059177"
},
"id": "ASB-A-171980069-519b8473",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 340.0,
"function_hash": "61535180085388431010717666557718059177"
},
"id": "ASB-A-171980069-77b35de2",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"133244152640812713275770336114416831433",
"67592987695279721687733199410590096876",
"25291247337675201734748419012761023160",
"207802613743572584816161990863362891210",
"113237312858454232655678767831191925576",
"289357571628723008831098994338509046514",
"44963732600006155219942966911031120165",
"105135349804760838859480469610730392589",
"102715412356406950219770955940244365114"
]
},
"id": "ASB-A-171980069-9e08ce53",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"133244152640812713275770336114416831433",
"67592987695279721687733199410590096876",
"25291247337675201734748419012761023160",
"207802613743572584816161990863362891210",
"113237312858454232655678767831191925576",
"289357571628723008831098994338509046514",
"44963732600006155219942966911031120165",
"105135349804760838859480469610730392589",
"102715412356406950219770955940244365114"
]
},
"id": "ASB-A-171980069-b85ee56f",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 1172.0,
"function_hash": "205612780247887574406662095825899160911"
},
"id": "ASB-A-171980069-dd878d61",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
}
],
"spl": "2021-02-01"
}{
"fixes": [
"https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc"
],
"types": [
"ID"
],
"severity": "High",
"vanir_signatures": [
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 1172.0,
"function_hash": "205612780247887574406662095825899160911"
},
"id": "ASB-A-171980069-18c5bc20",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 340.0,
"function_hash": "61535180085388431010717666557718059177"
},
"id": "ASB-A-171980069-2745e397",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"133244152640812713275770336114416831433",
"67592987695279721687733199410590096876",
"25291247337675201734748419012761023160",
"207802613743572584816161990863362891210",
"113237312858454232655678767831191925576",
"289357571628723008831098994338509046514",
"44963732600006155219942966911031120165",
"105135349804760838859480469610730392589",
"102715412356406950219770955940244365114"
]
},
"id": "ASB-A-171980069-3c6995ef",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"133244152640812713275770336114416831433",
"67592987695279721687733199410590096876",
"25291247337675201734748419012761023160",
"207802613743572584816161990863362891210",
"113237312858454232655678767831191925576",
"289357571628723008831098994338509046514",
"44963732600006155219942966911031120165",
"105135349804760838859480469610730392589",
"102715412356406950219770955940244365114"
]
},
"id": "ASB-A-171980069-6d59cb11",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 340.0,
"function_hash": "61535180085388431010717666557718059177"
},
"id": "ASB-A-171980069-85ac6663",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 1172.0,
"function_hash": "205612780247887574406662095825899160911"
},
"id": "ASB-A-171980069-a90c38c9",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
}
],
"spl": "2021-02-01"
}{
"fixes": [
"https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc"
],
"types": [
"ID"
],
"severity": "High",
"vanir_signatures": [
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"133244152640812713275770336114416831433",
"67592987695279721687733199410590096876",
"25291247337675201734748419012761023160",
"207802613743572584816161990863362891210",
"113237312858454232655678767831191925576",
"289357571628723008831098994338509046514",
"44963732600006155219942966911031120165",
"105135349804760838859480469610730392589",
"102715412356406950219770955940244365114"
]
},
"id": "ASB-A-171980069-22805d13",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 1172.0,
"function_hash": "205612780247887574406662095825899160911"
},
"id": "ASB-A-171980069-393297a3",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 340.0,
"function_hash": "61535180085388431010717666557718059177"
},
"id": "ASB-A-171980069-7165c09f",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 340.0,
"function_hash": "61535180085388431010717666557718059177"
},
"id": "ASB-A-171980069-c5910a7b",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"133244152640812713275770336114416831433",
"67592987695279721687733199410590096876",
"25291247337675201734748419012761023160",
"207802613743572584816161990863362891210",
"113237312858454232655678767831191925576",
"289357571628723008831098994338509046514",
"44963732600006155219942966911031120165",
"105135349804760838859480469610730392589",
"102715412356406950219770955940244365114"
]
},
"id": "ASB-A-171980069-d6b58535",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 1172.0,
"function_hash": "205612780247887574406662095825899160911"
},
"id": "ASB-A-171980069-f53ce736",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
}
],
"spl": "2021-02-01"
}{
"fixes": [
"https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc"
],
"types": [
"ID"
],
"severity": "High",
"vanir_signatures": [
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 1172.0,
"function_hash": "205612780247887574406662095825899160911"
},
"id": "ASB-A-171980069-6eb640d2",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 340.0,
"function_hash": "61535180085388431010717666557718059177"
},
"id": "ASB-A-171980069-813f9277",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"133244152640812713275770336114416831433",
"67592987695279721687733199410590096876",
"25291247337675201734748419012761023160",
"207802613743572584816161990863362891210",
"113237312858454232655678767831191925576",
"289357571628723008831098994338509046514",
"44963732600006155219942966911031120165",
"105135349804760838859480469610730392589",
"102715412356406950219770955940244365114"
]
},
"id": "ASB-A-171980069-a78101d6",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 1172.0,
"function_hash": "205612780247887574406662095825899160911"
},
"id": "ASB-A-171980069-a923aa93",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"133244152640812713275770336114416831433",
"67592987695279721687733199410590096876",
"25291247337675201734748419012761023160",
"207802613743572584816161990863362891210",
"113237312858454232655678767831191925576",
"289357571628723008831098994338509046514",
"44963732600006155219942966911031120165",
"105135349804760838859480469610730392589",
"102715412356406950219770955940244365114"
]
},
"id": "ASB-A-171980069-bfdf11a1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 340.0,
"function_hash": "61535180085388431010717666557718059177"
},
"id": "ASB-A-171980069-d00ee06c",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
}
],
"spl": "2021-02-01"
}{
"fixes": [
"https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc"
],
"types": [
"ID"
],
"severity": "High",
"vanir_signatures": [
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 340.0,
"function_hash": "61535180085388431010717666557718059177"
},
"id": "ASB-A-171980069-5ff67caa",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 1172.0,
"function_hash": "205612780247887574406662095825899160911"
},
"id": "ASB-A-171980069-a32e75c0",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"133244152640812713275770336114416831433",
"67592987695279721687733199410590096876",
"25291247337675201734748419012761023160",
"207802613743572584816161990863362891210",
"113237312858454232655678767831191925576",
"289357571628723008831098994338509046514",
"44963732600006155219942966911031120165",
"105135349804760838859480469610730392589",
"102715412356406950219770955940244365114"
]
},
"id": "ASB-A-171980069-b911c268",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 340.0,
"function_hash": "61535180085388431010717666557718059177"
},
"id": "ASB-A-171980069-d96fdd6a",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"133244152640812713275770336114416831433",
"67592987695279721687733199410590096876",
"25291247337675201734748419012761023160",
"207802613743572584816161990863362891210",
"113237312858454232655678767831191925576",
"289357571628723008831098994338509046514",
"44963732600006155219942966911031120165",
"105135349804760838859480469610730392589",
"102715412356406950219770955940244365114"
]
},
"id": "ASB-A-171980069-f467dd0f",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/OkHostnameVerifier.java",
"function": "verifyHostName"
},
"digest": {
"length": 1172.0,
"function_hash": "205612780247887574406662095825899160911"
},
"id": "ASB-A-171980069-f9864994",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/external/okhttp/+/ddc934efe3ed06ce34f3724d41cfbdcd7e7358fc",
"signature_version": "v1"
}
],
"spl": "2021-02-01"
}