{ "id": "CVE-2024-21508", "sourceIdentifier": "report@snyk.io", "published": "2024-04-11T05:15:47.263", "lastModified": "2024-04-11T12:47:44.137", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [ { "lang": "en", "value": "Versions of the package mysql2 before 3.9.4 are vulnerable to Remote Code Execution (RCE) via the readCodeFor function due to improper validation of the supportBigNumbers and bigNumberStrings values." }, { "lang": "es", "value": "Las versiones del paquete mysql2 anteriores a la 3.9.4 son vulnerables a la ejecuci\u00f3n remota de c\u00f3digo (RCE) a trav\u00e9s de la funci\u00f3n readCodeFor debido a una validaci\u00f3n incorrecta de los valores supportBigNumbers y bigNumberStrings." } ], "metrics": { "cvssMetricV31": [ { "source": "report@snyk.io", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } ] }, "weaknesses": [ { "source": "report@snyk.io", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-94" } ] } ], "references": [ { "url": "https://blog.slonser.info/posts/mysql2-attacker-configuration/", "source": "report@snyk.io" }, { "url": "https://github.com/sidorares/node-mysql2/blob/1609b5393516d72a4ae47196837317fbe75e0c13/lib/parsers/text_parser.js%23L14C10-L14C21", "source": "report@snyk.io" }, { "url": "https://github.com/sidorares/node-mysql2/commit/74abf9ef94d76114d9a09415e28b496522a94805", "source": "report@snyk.io" }, { "url": "https://github.com/sidorares/node-mysql2/pull/2572", "source": "report@snyk.io" }, { "url": "https://github.com/sidorares/node-mysql2/releases/tag/v3.9.4", "source": "report@snyk.io" }, { "url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591085", "source": "report@snyk.io" } ] }