CVE-2024-21507
MEDIUMSidorares Mysql2 < 3.9.3 - Improper Input Validation
Title source: ruleDescription
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.
References (4)
Core 4
Core References
Exploit, Permissions Required
https://blog.slonser.info/posts/mysql2-attacker-configuration/
Exploit, Issue Tracking
https://github.com/sidorares/node-mysql2/pull/2424
Exploit, Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300
Scores
CVSS v3
6.5
EPSS
0.0042
EPSS Percentile
62.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-20
Status
published
Products (2)
npm/mysql2
0 - 3.9.3npm
sidorares/mysql2
< 3.9.3
Published
Apr 10, 2024
Tracked Since
Feb 18, 2026