Advisory

GHSA-4r4m-hjwj-43p8

Also known as: 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.

The 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.

Recommendation

Update to version 1.6.9 or later.

If you are unable to upgrade, ensure all calls to socket.io to have a rejectedUnauthorized: true flag.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-02-18 23:39 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

engine.io-client

npm · All systems

Affected

  • introduced 0, fixed 1.6.9 (semver)

Fixed versions

1.6.9

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences