cve-2022-2421
Vulnerability from cvelistv5
Published
2022-10-25 00:00
Modified
2025-03-11 13:40
Severity ?
Summary
Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.
Impacted products
Vendor Product Version
Socket.io Socket.io-Parser Version: 4.x   < 4.2.1
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2024-08-03T00:39:07.623Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "third-party-advisory",
                     "x_transferred",
                  ],
                  url: "https://csirt.divd.nl/CVE-2022-2421",
               },
               {
                  tags: [
                     "third-party-advisory",
                     "x_transferred",
                  ],
                  url: "https://csirt.divd.nl/DIVD-2022-00045",
               },
            ],
            title: "CVE Program Container",
         },
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2022-2421",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "yes",
                           },
                           {
                              "Technical Impact": "total",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-11-20T14:40:01.867350Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-11-20T14:40:37.172Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
      ],
      cna: {
         affected: [
            {
               product: "Socket.io-Parser",
               vendor: "Socket.io",
               versions: [
                  {
                     lessThan: "4.2.1",
                     status: "affected",
                     version: "4.x",
                     versionType: "custom",
                  },
               ],
            },
         ],
         credits: [
            {
               lang: "en",
               type: "finder",
               user: "00000000-0000-4000-9000-000000000000",
               value: "Thomas Rinsma (Codean)",
            },
            {
               lang: "en",
               type: "analyst",
               value: "Victor Pasman (DIVD)",
            },
            {
               lang: "en",
               type: "analyst",
               value: "Frank Breedijk (DIVD)",
            },
         ],
         datePublic: "2022-10-24T22:00:00.000Z",
         descriptions: [
            {
               lang: "en",
               supportingMedia: [
                  {
                     base64: false,
                     type: "text/html",
                     value: "Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.",
                  },
               ],
               value: "Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.",
            },
         ],
         metrics: [
            {
               cvssV3_1: {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "HIGH",
                  baseScore: 10,
                  baseSeverity: "CRITICAL",
                  confidentialityImpact: "HIGH",
                  integrityImpact: "HIGH",
                  privilegesRequired: "NONE",
                  scope: "CHANGED",
                  userInteraction: "NONE",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
                  version: "3.1",
               },
               format: "CVSS",
               scenarios: [
                  {
                     lang: "en",
                     value: "GENERAL",
                  },
               ],
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     cweId: "CWE-89",
                     description: "CWE-89 SQL Injection",
                     lang: "en",
                     type: "CWE",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2025-03-11T13:40:55.218Z",
            orgId: "b87402ff-ae37-4194-9dae-31abdbd6f217",
            shortName: "DIVD",
         },
         references: [
            {
               tags: [
                  "third-party-advisory",
               ],
               url: "https://csirt.divd.nl/CVE-2022-2421",
            },
            {
               tags: [
                  "third-party-advisory",
               ],
               url: "https://csirt.divd.nl/DIVD-2022-00045",
            },
         ],
         source: {
            advisory: "DIVD-2022-00045",
            discovery: "EXTERNAL",
         },
         title: "Socket.io - Improper type validation in attachment parsing",
         x_generator: {
            engine: "Vulnogram 0.0.9",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "b87402ff-ae37-4194-9dae-31abdbd6f217",
      assignerShortName: "DIVD",
      cveId: "CVE-2022-2421",
      datePublished: "2022-10-25T00:00:00",
      dateReserved: "2022-07-15T00:00:00",
      dateUpdated: "2025-03-11T13:40:55.218Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      fkie_nvd: {
         configurations: "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*\", \"versionEndExcluding\": \"4.0.5\", \"matchCriteriaId\": \"E82B81A1-19A5-47BC-92B8-57A8AE3A84A2\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*\", \"versionStartIncluding\": \"4.1.0\", \"versionEndExcluding\": \"4.2.1\", \"matchCriteriaId\": \"D9EC7F6F-846D-4F2B-B808-8C90894EC0C0\"}]}]}]",
         descriptions: "[{\"lang\": \"en\", \"value\": \"Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.\"}, {\"lang\": \"es\", \"value\": \"Debido a una incorrecta comprobaci\\u00f3n de tipos en el an\\u00e1lisis de archivos adjuntos de la biblioteca js Socket.io, es posible sobrescribir el objeto _placeholder, lo que permite a un atacante colocar referencias a funciones en lugares arbitrarios en el objeto de consulta resultante\"}]",
         id: "CVE-2022-2421",
         lastModified: "2024-11-21T07:00:57.370",
         metrics: "{\"cvssMetricV31\": [{\"source\": \"csirt@divd.nl\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H\", \"baseScore\": 10.0, \"baseSeverity\": \"CRITICAL\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"CHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 3.9, \"impactScore\": 6.0}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\", \"baseScore\": 9.8, \"baseSeverity\": \"CRITICAL\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 3.9, \"impactScore\": 5.9}]}",
         published: "2022-10-26T10:15:16.780",
         references: "[{\"url\": \"https://csirt.divd.nl/CVE-2022-2421\", \"source\": \"csirt@divd.nl\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://csirt.divd.nl/DIVD-2022-00045\", \"source\": \"csirt@divd.nl\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://csirt.divd.nl/CVE-2022-2421\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://csirt.divd.nl/DIVD-2022-00045\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}]",
         sourceIdentifier: "csirt@divd.nl",
         vulnStatus: "Modified",
         weaknesses: "[{\"source\": \"csirt@divd.nl\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-89\"}]}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"NVD-CWE-noinfo\"}]}]",
      },
      nvd: "{\"cve\":{\"id\":\"CVE-2022-2421\",\"sourceIdentifier\":\"csirt@divd.nl\",\"published\":\"2022-10-26T10:15:16.780\",\"lastModified\":\"2024-11-21T07:00:57.370\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.\"},{\"lang\":\"es\",\"value\":\"Debido a una incorrecta comprobación de tipos en el análisis de archivos adjuntos de la biblioteca js Socket.io, es posible sobrescribir el objeto _placeholder, lo que permite a un atacante colocar referencias a funciones en lugares arbitrarios en el objeto de consulta resultante\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"csirt@divd.nl\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H\",\"baseScore\":10.0,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":6.0},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"csirt@divd.nl\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-89\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*\",\"versionEndExcluding\":\"4.0.5\",\"matchCriteriaId\":\"E82B81A1-19A5-47BC-92B8-57A8AE3A84A2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:socket:socket.io-parser:*:*:*:*:*:node.js:*:*\",\"versionStartIncluding\":\"4.1.0\",\"versionEndExcluding\":\"4.2.1\",\"matchCriteriaId\":\"D9EC7F6F-846D-4F2B-B808-8C90894EC0C0\"}]}]}],\"references\":[{\"url\":\"https://csirt.divd.nl/CVE-2022-2421\",\"source\":\"csirt@divd.nl\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://csirt.divd.nl/DIVD-2022-00045\",\"source\":\"csirt@divd.nl\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://csirt.divd.nl/CVE-2022-2421\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://csirt.divd.nl/DIVD-2022-00045\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://csirt.divd.nl/CVE-2022-2421\", \"tags\": [\"third-party-advisory\", \"x_transferred\"]}, {\"url\": \"https://csirt.divd.nl/DIVD-2022-00045\", \"tags\": [\"third-party-advisory\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-03T00:39:07.623Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-2421\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-11-20T14:40:01.867350Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-11-20T14:40:32.256Z\"}}], \"cna\": {\"title\": \"Socket.io - Improper type validation in attachment parsing\", \"source\": {\"advisory\": \"DIVD-2022-00045\", \"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"user\": \"00000000-0000-4000-9000-000000000000\", \"value\": \"Thomas Rinsma (Codean)\"}, {\"lang\": \"en\", \"type\": \"analyst\", \"value\": \"Victor Pasman (DIVD)\"}, {\"lang\": \"en\", \"type\": \"analyst\", \"value\": \"Frank Breedijk (DIVD)\"}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 10, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"Socket.io\", \"product\": \"Socket.io-Parser\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.x\", \"lessThan\": \"4.2.1\", \"versionType\": \"custom\"}]}], \"datePublic\": \"2022-10-24T22:00:00.000Z\", \"references\": [{\"url\": \"https://csirt.divd.nl/CVE-2022-2421\", \"tags\": [\"third-party-advisory\"]}, {\"url\": \"https://csirt.divd.nl/DIVD-2022-00045\", \"tags\": [\"third-party-advisory\"]}], \"x_generator\": {\"engine\": \"Vulnogram 0.0.9\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"Due to improper type validation in attachment parsing the Socket.io js library, it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-89\", \"description\": \"CWE-89 SQL Injection\"}]}], \"providerMetadata\": {\"orgId\": \"b87402ff-ae37-4194-9dae-31abdbd6f217\", \"shortName\": \"DIVD\", \"dateUpdated\": \"2025-03-11T13:40:55.218Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2022-2421\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-03-11T13:40:55.218Z\", \"dateReserved\": \"2022-07-15T00:00:00\", \"assignerOrgId\": \"b87402ff-ae37-4194-9dae-31abdbd6f217\", \"datePublished\": \"2022-10-25T00:00:00\", \"assignerShortName\": \"DIVD\"}",
         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.