{"id":"GHSA-4r4m-hjwj-43p8","summary":"Insecure Defaults Allow MITM Over TLS in engine.io-client","details":"Affected versions of `engine.io-client` do not verify certificates by default, and as such may be vulnerable to Man-in-the-Middle attacks.\n\nThe vulnerability is related to the way that node.js handles the `rejectUnauthorized` setting. If the value is something that evaluates to false, such as undefined or null, certificate verification will be disabled. \n\n\n\n## Recommendation\n\nUpdate to version 1.6.9 or later.\n\nIf you are unable to upgrade, ensure all calls to socket.io to have a `rejectedUnauthorized: true` flag.","aliases":["CVE-2016-10536"],"modified":"2023-11-08T03:58:11.209416Z","published":"2019-02-18T23:39:50Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T20:58:54Z","nvd_published_at":null,"cwe_ids":["CWE-300"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10536"},{"type":"WEB","url":"https://github.com/socketio/engine.io-client/commit/2c55b278a491bf45313ecc0825cf800e2f7ff5c1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4r4m-hjwj-43p8"},{"type":"WEB","url":"https://www.cigital.com/blog/node-js-socket-io"},{"type":"WEB","url":"https://www.npmjs.com/advisories/99"}],"affected":[{"package":{"name":"engine.io-client","ecosystem":"npm","purl":"pkg:npm/engine.io-client"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-4r4m-hjwj-43p8/GHSA-4r4m-hjwj-43p8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}