OkHttp before 2.7.4 and 3.x before 3.1.2 allows man-in-the-middle attackers to bypass certificate pinning by sending a certificate chain with a certificate from a non-pinned trusted CA and the pinned certificate.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:squareup:okhttp:*:*:*:*:*:*:*:*"
],
"vendor_product": "squareup:okhttp",
"extracted_events": [
{
"last_affected": "2.7.3"
}
],
"source": "CPE_RANGE"
},
{
"extracted_events": [
{
"introduced": "3.0.0"
},
{
"last_affected": "3.0.0"
},
{
"introduced": "3.0.0-rc1"
},
{
"last_affected": "3.0.0-rc1"
},
{
"introduced": "3.0.1"
},
{
"last_affected": "3.0.1"
},
{
"introduced": "3.1.0"
},
{
"last_affected": "3.1.0"
},
{
"introduced": "3.1.1"
},
{
"last_affected": "3.1.1"
}
],
"vendor_product": "squareup:okhttp3",
"source": "CPE_STRING",
"cpes": [
"cpe:2.3:a:squareup:okhttp3:3.0.0:*:*:*:*:*:*:*",
"cpe:2.3:a:squareup:okhttp3:3.0.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:squareup:okhttp3:3.0.1:*:*:*:*:*:*:*",
"cpe:2.3:a:squareup:okhttp3:3.1.0:*:*:*:*:*:*:*",
"cpe:2.3:a:squareup:okhttp3:3.1.1:*:*:*:*:*:*:*"
]
}
]
}{
"source": "DESCRIPTION",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.7.4"
},
{
"introduced": "3.x"
},
{
"fixed": "3.1.2"
}
]
}