{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-21507","published":"2024-04-10T05:15:48.290000Z","last_modified":"2026-06-17T07:09:38.320000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:sidorares:mysql2:*:*:*:*:*:*:*:*","part":"a","vendor":"sidorares","product":"mysql2","version_end_excluding":"3.9.3"}],"cpes_truncated":false,"vendors":["sidorares"],"products":["sidorares/mysql2"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.00848,"percentile":0.55596,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-mqr2-w7wj-jjgr","ecosystem":"npm","name":"mysql2","purl":"pkg:npm/mysql2","ranges":[{"introduced":"0","fixed":"3.9.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2024-21507/","html_en":"/en/cve/CVE-2024-21507/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-21507","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-21507"},"untrusted":{"vendor_name":"Sidorares","product_name":"Mysql2","desc_en":"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.","affected":[{"untrusted_vendor":"mysqljs","untrusted_product":"mysql2","versions":[]}],"references":[{"url":"https://blog.slonser.info/posts/mysql2-attacker-configuration/","tags":["Exploit","Permissions Required"]},{"url":"https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818","tags":["Patch"]},{"url":"https://github.com/sidorares/node-mysql2/pull/2424","tags":["Exploit","Issue Tracking"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300","tags":["Exploit","Third Party Advisory"]}]}}