{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:starscream_project:starscream:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.0.3"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "13859364e33368687a5ee0c9cc0d5782e4212b66"
            },
            {
              "fixed": "dbeb1190b8dcbff4f0b797f9e9d9b9b864d1f0d6"
            },
            {
              "fixed": "85070aab91d3f8495d8bd378e81dcc00b368898c"
            }
          ],
          "repo": "https://github.com/daltoniam/starscream",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "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).",
  "id": "CVE-2017-5887",
  "modified": "2026-07-08T05:36:31.608457565Z",
  "published": "2017-04-06T14:59:00.240Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://seclists.org/bugtraq/2017/Apr/67"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/daltoniam/Starscream/releases/tag/2.0.4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/daltoniam/Starscream/commit/dbeb1190b8dcbff4f0b797f9e9d9b9b864d1f0d6"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}