MySQL2 for Node Arbitrary Code Injection
Critical severity
GitHub Reviewed
Published
Apr 23, 2024
to the GitHub Advisory Database
•
Updated Apr 23, 2024
Description
Published by the National Vulnerability Database
Apr 23, 2024
Published to the GitHub Advisory Database
Apr 23, 2024
Reviewed
Apr 23, 2024
Last updated
Apr 23, 2024
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.
References