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.
{
"nvd_published_at": "2024-04-23T05:15:48Z",
"cwe_ids": [
"CWE-94"
],
"github_reviewed_at": "2024-04-23T20:50:56Z",
"severity": "CRITICAL",
"github_reviewed": true
}