{ "id": "CVE-2024-21507", "sourceIdentifier": "report@snyk.io", "published": "2024-04-10T05:15:48.290", "lastModified": "2024-11-21T08:54:34.667", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [ { "lang": "en", "value": "Versions of the package mysql2 before 3.9.3 are vulnerable to Improper Input Validation through the keyFromFields function, resulting in cache poisoning. An attacker can inject a colon (:) character within a value of the attacker-crafted key." }, { "lang": "es", "value": "Las versiones del paquete mysql2 anteriores a la 3.9.3 son vulnerables a una validaci\u00f3n de entrada incorrecta a trav\u00e9s de la funci\u00f3n keyFromFields, lo que provoca envenenamiento de la cach\u00e9. Un atacante puede inyectar un car\u00e1cter de dos puntos (:) dentro de un valor de la clave creada por el atacante." } ], "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:L/I:N/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "LOW" }, "exploitabilityScore": 3.9, "impactScore": 2.5 } ] }, "weaknesses": [ { "source": "report@snyk.io", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-20" } ] }, { "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-20" } ] } ], "references": [ { "url": "https://blog.slonser.info/posts/mysql2-attacker-configuration/", "source": "report@snyk.io" }, { "url": "https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818", "source": "report@snyk.io" }, { "url": "https://github.com/sidorares/node-mysql2/pull/2424", "source": "report@snyk.io" }, { "url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300", "source": "report@snyk.io" }, { "url": "https://blog.slonser.info/posts/mysql2-attacker-configuration/", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://github.com/sidorares/node-mysql2/pull/2424", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300", "source": "af854a3a-2127-422b-91ae-364da2661108" } ] }