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.
{
"cpe": [
"cpe:2.3:a:squareup:okhttp:*:*:*:*:*:*:*:*",
"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:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "2.7.3"
},
{
"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"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
]
}