CVE-2024-21511Published Apr 23, 2024 · Apr 23Updated Oct 28
MySQL2 for Node Arbitrary Code Injection
mysql2
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mysql2 npm |
|
|
Original description
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.
From the CVE record · snyk