Arbitrary Code Injection Vulnerability in mysql2 Before 3.9.7
CVE-2024-21511
9.8CRITICAL
What is CVE-2024-21511?
Versions of the mysql2 package prior to 3.9.7 have a significant vulnerability that allows for arbitrary code injection. This arises from the improper sanitization of the timezone parameter within the readCodeFor function, which interacts with native MySQL Server date and time functions. Exploiting this vulnerability may enable an attacker to execute arbitrary code on the server, potentially compromising the security of applications utilizing this package.
Affected Version(s)
mysql2 0 < 3.9.7