{ "id": "CVE-2024-21511", "sourceIdentifier": "report@snyk.io", "published": "2024-04-23T05:15:48.963", "lastModified": "2024-04-23T12:52:09.397", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [ { "lang": "en", "value": "Versions of the package mysql2 before 3.9.7 are vulnerable to Arbitrary Code Injection due to improper sanitization of the timezone parameter in the readCodeFor function by calling a native MySQL Server date/time function." }, { "lang": "es", "value": "Las versiones del paquete mysql2 anteriores a la 3.9.7 son vulnerables a la inyecci\u00f3n de c\u00f3digo arbitrario debido a una sanitizaci\u00f3n inadecuada del par\u00e1metro de zona horaria en la funci\u00f3n readCodeFor al llamar a una funci\u00f3n de fecha/hora nativa del servidor MySQL." } ], "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://github.com/sidorares/node-mysql2/commit/7d4b098c7e29d5a6cb9eac2633bfcc2f0f1db713", "source": "report@snyk.io" }, { "url": "https://github.com/sidorares/node-mysql2/pull/2608", "source": "report@snyk.io" }, { "url": "https://github.com/sidorares/node-mysql2/releases/tag/v3.9.7", "source": "report@snyk.io" }, { "url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6670046", "source": "report@snyk.io" } ] }