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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-1092 | 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. |
Github GHSA |
GHSA-4rch-2fh8-94vw | MySQL2 for Node Arbitrary Code Injection |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 15 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
Status: PUBLISHED
Assigner: snyk
Published:
Updated: 2024-08-01T22:20:40.911Z
Reserved: 2023-12-22T12:33:20.120Z
Link: CVE-2024-21511
Updated: 2024-08-01T22:20:40.911Z
Status : Awaiting Analysis
Published: 2024-04-23T05:15:48.963
Modified: 2024-11-21T08:54:35.180
Link: CVE-2024-21511
OpenCVE Enrichment
No data.
EUVD
Github GHSA