Vulnerabilities in pkg:npm/engine.io-client
PACKAGECVE-2016-10536 is a MODERATE (CVSS 5.9) insecure defaults allow mitm over vulnerability (CWE-300: Channel Accessible by Non-Endpoint) affecting Engine.io client libraries in the npm ecosystem. The issue involves insecure defaults allow mitm over tls in engine.io-client. Remediation is available by upgrading affected packages to version 1.6.9.
pkg:npm/engine.io-client
Vulnerability advisories affecting package pkg:npm/engine.io-client. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4r4m-hjwj-43p8 | CVE-2016-10536 | MODERATE | Insecure Defaults Allow MITM Over TLS in engine.io-client |
CVE-2016-10536 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2016-10536
To remediate this vulnerability, upgrade all affected Engine.io client dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install engine.io-client@1.6.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls engine.io-client
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2016-10536, inspect your project dependencies using npm:
npm ls engine.io-client
Analyze the terminal output to locate any version of Engine.io client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.9), your application is affected.
Note: The npm ls engine.io-client command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-300: Channel Accessible by Non-Endpoint, where the product does not adequately verify the identity of actors at both ends of a communication channel, or does not adequately ensure the integrity of the channel, in a way that allows the channel to be accessed or influenced by an actor that is not an endpoint. In Engine.io client, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2016-10536 Affected Engine.io client Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
engine.io-client
|
npm |
< 1.6.9
|
1.6.9
|
References
Frequently Asked Questions
What is CVE-2016-10536?
Which Engine.io client versions are affected?
What version fixes CVE-2016-10536?
Is engine.io-client affected?
What is the CVSS score of CVE-2016-10536?
What CWE is associated with CVE-2016-10536?
How can I check npm dependencies for CVE-2016-10536?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4r4m-hjwj-43p8",
"modified" : "2023-09-07T22:50:46Z",
"published" : "2019-02-18T23:39:50Z",
"aliases" : [ "CVE-2016-10536" ],
"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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "engine.io-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.9"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-300" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:58:54Z",
"nvd_published_at" : null
}
}