cve-2024-38355
Vulnerability from cvelistv5
Published
2024-06-19 19:48
Modified
2024-09-03 20:35
EPSS score ?
0.43% (0.59572)
Summary
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.
Impacted products
Vendor Product Version
socketio socket.io Version: < 2.5.1
Version: >= 3.0.0,< 4.6.2
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2024-08-19T07:47:44.453Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  name: "https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj",
                  tags: [
                     "x_refsource_CONFIRM",
                     "x_transferred",
                  ],
                  url: "https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj",
               },
               {
                  name: "https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115",
                  tags: [
                     "x_refsource_MISC",
                     "x_transferred",
                  ],
                  url: "https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115",
               },
               {
                  name: "https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c",
                  tags: [
                     "x_refsource_MISC",
                     "x_transferred",
                  ],
                  url: "https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c",
               },
               {
                  url: "https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355",
               },
            ],
            title: "CVE Program Container",
         },
         {
            affected: [
               {
                  cpes: [
                     "cpe:2.3:a:socket:socket.io:*:*:*:*:*:node.js:*:*",
                  ],
                  defaultStatus: "unknown",
                  product: "socket.io",
                  vendor: "socket",
                  versions: [
                     {
                        lessThan: "2.5.1",
                        status: "affected",
                        version: "0",
                        versionType: "custom",
                     },
                     {
                        lessThan: "4.6.2",
                        status: "affected",
                        version: "3.0.0",
                        versionType: "custom",
                     },
                  ],
               },
            ],
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2024-38355",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "yes",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-09-03T15:54:14.198687Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-09-03T20:35:40.515Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
      ],
      cna: {
         affected: [
            {
               product: "socket.io",
               vendor: "socketio",
               versions: [
                  {
                     status: "affected",
                     version: "< 2.5.1",
                  },
                  {
                     status: "affected",
                     version: ">= 3.0.0,< 4.6.2",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "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.\n",
            },
         ],
         metrics: [
            {
               cvssV3_1: {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "LOW",
                  baseScore: 7.3,
                  baseSeverity: "HIGH",
                  confidentialityImpact: "LOW",
                  integrityImpact: "LOW",
                  privilegesRequired: "NONE",
                  scope: "UNCHANGED",
                  userInteraction: "NONE",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
                  version: "3.1",
               },
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     cweId: "CWE-20",
                     description: "CWE-20: Improper Input Validation",
                     lang: "en",
                     type: "CWE",
                  },
               ],
            },
            {
               descriptions: [
                  {
                     cweId: "CWE-754",
                     description: "CWE-754: Improper Check for Unusual or Exceptional Conditions",
                     lang: "en",
                     type: "CWE",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-06-19T19:48:50.193Z",
            orgId: "a0819718-46f1-4df5-94e2-005712e83aaa",
            shortName: "GitHub_M",
         },
         references: [
            {
               name: "https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj",
               tags: [
                  "x_refsource_CONFIRM",
               ],
               url: "https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj",
            },
            {
               name: "https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115",
               tags: [
                  "x_refsource_MISC",
               ],
               url: "https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115",
            },
            {
               name: "https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c",
               tags: [
                  "x_refsource_MISC",
               ],
               url: "https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c",
            },
         ],
         source: {
            advisory: "GHSA-25hc-qcg6-38wj",
            discovery: "UNKNOWN",
         },
         title: "Unhandled 'error' event in socket.io",
      },
   },
   cveMetadata: {
      assignerOrgId: "a0819718-46f1-4df5-94e2-005712e83aaa",
      assignerShortName: "GitHub_M",
      cveId: "CVE-2024-38355",
      datePublished: "2024-06-19T19:48:50.193Z",
      dateReserved: "2024-06-14T14:16:16.464Z",
      dateUpdated: "2024-09-03T20:35:40.515Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-38355\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-06-19T20:15:11.180\",\"lastModified\":\"2024-11-21T09:25:25.967\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\\n\"},{\"lang\":\"es\",\"value\":\"Socket.IO es un framework de comunicación de código abierto, en tiempo real, bidireccional y basado en eventos. Un paquete Socket.IO especialmente manipulado puede desencadenar una excepción no detectada en el servidor Socket.IO, matando así el proceso Node.js. Este problema se solucionó mediante el commit `15af22fc22` que se incluyó en `socket.io@4.6.2` (publicado en mayo de 2023). La solución también se respaldó en la rama 2.x con el commit `d30630ba10`. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar pueden adjuntar un detector del evento \\\"error\\\" para detectar estos errores.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L\",\"baseScore\":7.3,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"LOW\"},\"exploitabilityScore\":3.9,\"impactScore\":3.4}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-20\"},{\"lang\":\"en\",\"value\":\"CWE-754\"}]}],\"references\":[{\"url\":\"https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj\", \"name\": \"https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj\", \"tags\": [\"x_refsource_CONFIRM\", \"x_transferred\"]}, {\"url\": \"https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115\", \"name\": \"https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}, {\"url\": \"https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c\", \"name\": \"https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}, {\"url\": \"https://www.vicarius.io/vsociety/posts/unhandled-exception-in-socketio-cve-2024-38355\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-19T07:47:44.453Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-38355\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-03T15:54:14.198687Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:socket:socket.io:*:*:*:*:*:node.js:*:*\"], \"vendor\": \"socket\", \"product\": \"socket.io\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"2.5.1\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"3.0.0\", \"lessThan\": \"4.6.2\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-03T20:35:24.356Z\"}}], \"cna\": {\"title\": \"Unhandled 'error' event in socket.io\", \"source\": {\"advisory\": \"GHSA-25hc-qcg6-38wj\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.3, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L\", \"integrityImpact\": \"LOW\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"LOW\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"LOW\"}}], \"affected\": [{\"vendor\": \"socketio\", \"product\": \"socket.io\", \"versions\": [{\"status\": \"affected\", \"version\": \"< 2.5.1\"}, {\"status\": \"affected\", \"version\": \">= 3.0.0,< 4.6.2\"}]}], \"references\": [{\"url\": \"https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj\", \"name\": \"https://github.com/socketio/socket.io/security/advisories/GHSA-25hc-qcg6-38wj\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115\", \"name\": \"https://github.com/socketio/socket.io/commit/15af22fc22bc6030fcead322c106f07640336115\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c\", \"name\": \"https://github.com/socketio/socket.io/commit/d30630ba10562bf987f4d2b42440fc41a828119c\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"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.\\n\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-20\", \"description\": \"CWE-20: Improper Input Validation\"}]}, {\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-754\", \"description\": \"CWE-754: Improper Check for Unusual or Exceptional Conditions\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-06-19T19:48:50.193Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2024-38355\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-09-03T20:35:40.515Z\", \"dateReserved\": \"2024-06-14T14:16:16.464Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-06-19T19:48:50.193Z\", \"assignerShortName\": \"GitHub_M\"}",
         dataType: "CVE_RECORD",
         dataVersion: "5.1",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.