High
Security advisory
WebSocket.swift in Starscream before 2.0.4 allows an SSL Pinning bypass because pinning occurs in the stream function (this is too late; pinning should occur in the initStreamsWithData function).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-5887
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:45 UTC · Revision 1
Source evidence
WebSocket.swift in Starscream before 2.0.4 allows an SSL Pinning bypass because pinning occurs in the stream function (this is too late; pinning should occur in the initStreamsWithData function).
osv:CVE-2017-5887
Complete source record
{
"id": "ea46907288c9e45c9514724c4c5a55375c6efcf9d6660e04527ba02ac224286c",
"url": "https://osv.dev/vulnerability/CVE-2017-5887",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-5887",
"summary": "WebSocket.swift in Starscream before 2.0.4 allows an SSL Pinning bypass because pinning occurs in the stream function (this is too late; pinning should occur in the initStreamsWithData function).",
"evidence": "osv:CVE-2017-5887",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-5887",
"aliases": [
"CVE-2017-5887"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/daltoniam/starscream",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "13859364e33368687a5ee0c9cc0d5782e4212b66"
},
{
"fixed": "dbeb1190b8dcbff4f0b797f9e9d9b9b864d1f0d6"
},
{
"fixed": "85070aab91d3f8495d8bd378e81dcc00b368898c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:starscream_project:starscream:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.0.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "dbeb1190b8dcbff4f0b797f9e9d9b9b864d1f0d6"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "85070aab91d3f8495d8bd378e81dcc00b368898c"
}
],
"source": "REFERENCES_TAG",
"original_tag": "2.0.4"
}
]
}
}
],
"versions": [
"2.0.3",
"2.0.2",
"2.0.1",
"2.0.0",
"1.1.4",
"1.1.3",
"1.1.2",
"1.1.1",
"1.1.0",
"1.0.2",
"1.0.1",
"1.0.0",
"0.9.7",
"0.9.6",
"0.9.5",
"0.9.4",
"0.9.3",
"0.9.2",
"0.9.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5887.json"
}
}
],
"modified": "2026-10-20T10:47:50.719294317Z",
"provider": "osv",
"references": [
"https://github.com/daltoniam/Starscream/releases/tag/2.0.4",
"https://github.com/daltoniam/Starscream/commit/dbeb1190b8dcbff4f0b797f9e9d9b9b864d1f0d6"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-5887",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379765,
"published_at": "2017-04-06T14:59:00.24+00:00"
}