CVE-2024-38355
Unhandled 'error' event in socket.io
HIGH 7.3
En bref
- Source
- NVD
- EPSS
- EPSS 0.81 % · centile 57 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Deferred
Description
Socket.IO is an open source, real-time, bidirectional, event-based, communication framework. A specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process. This issue is fixed by commit `15af22fc22` which has been included in `socket.io@4.6.2` (released in May 2023). The fix was backported in the 2.x branch as well with commit `d30630ba10`. Users are advised to upgrade. Users unable to upgrade may attach a listener for the "error" event to catch these errors.
Faiblesses (CWE)
- CWE-20 — Validation d'entrée incorrecte
- CWE-754 — Vérification incorrecte de conditions inhabituelles ou exceptionnelles
Références
- https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj
- https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115
- https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c
- https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | GitHub_M |
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-25hc-qcg6-38wj — socket.io has an unhandled 'error' event
Références européennes
- ENISA EUVD · EUVD-2024-1878
- GCVE · GCVE-0-2024-38355
Avis du CERT-FR
- CERTFR-2024-AVI-0757 — Multiples vulnérabilités dans les produits Siemens · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| socketio · socket.io | affected < 2.5.1 ; affected >= 3.0.0,< 4.6.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |