cve.bz

CVE-2024-38355 socketio socket.io: Improper Input Validation

7.3 highEPSS 0.8%Fix available

High (7.3) in socketio socket.io. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in socket.io 2.5.1, 4.6.2.

On this page
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.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-09-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-20 Improper Input Validation
CWE-754 Improper Check for Unusual or Exceptional Conditions
OWASP Top 10
A05:2025 Injection, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-38355 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-38355?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-38355?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-38355 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
socketio socket.io< 2.5.1
socketio socket.io>= 3.0.0,< 4.6.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-25hc-qcg6-38wjnpmsocket.io<2.5.12.5.1
GHSA-25hc-qcg6-38wjnpmsocket.io>=3.0.0 <4.6.24.6.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Module for Python 3 15 SP6pgadmin48.5-150600.3.6.1SUSE-SU-2024:3771-1
openSUSELeap 15.6pgadmin48.5-150600.3.6.1SUSE-SU-2024:3771-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw occurs because the server fails to handle certain errors properly, leading to a complete server shutdown. Since the attack requires no special privileges or user interaction and can be done remotely, it poses a significant risk to server stability and availability. This vulnerability is rated as IMPORTANT due to its potential to disrupt service and impact server performance.

Red Hat's mitigation

It is recommended to update to the latest version to address this vulnerability.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Not affected
Red Hat Fuse 7socket.ioWill not fix
Red Hat JBoss Data Grid 7socket.ioWill not fix
Red Hat Quay 3quay/quay-rhel8Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-38355.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-256-08Siemens Industrial Products2024-09-10Critical ManufacturingAI Model Deployer, Data Flow Monitoring Industrial Edge Device User Interface (DFM IED UI), LiveTwin Industrial Edge app (6AV2170-0BL00-0AA0) and 9 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON