HIGH7.5
GHSA-j4f2-536g-r55m
Resource exhaustion in engine.io
Quick fix
GHSA-j4f2-536g-r55m — engine.io: upgrade to the fixed version with the command below.
npm install engine.io@3.6.0Details
Engine.IO before 4.0.0 and 3.6.0 allows attackers to cause a denial of service (resource consumption) via a POST request to the long polling transport.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-36048[ADVISORY]
- https://github.com/socketio/engine.io/commit/58e274c437e9cbcf69fd913c813aad8fbd253703[WEB]
- https://github.com/socketio/engine.io/commit/734f9d1268840722c41219e69eb58318e0b2ac6b[WEB]
- https://blog.caller.xyz/socketio-engineio-dos[WEB]
- https://github.com/bcaller/kill-engine-io[WEB]
- https://github.com/socketio/engine.io[PACKAGE]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/engine.io"]}'