Versions of the package mysql2 before 3.9.7 are vulnerable to Arbitrary Code Injection due to improper…
Historical advisory recorded 24 Oct 2026 23:17:16 UTC. Read the latest advisory.
nvd · CVE-2024-21511
PublishedVersions 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2024-21511
PublishedVersions 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.
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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-94
Original publisher date fields
published: 2024-04-23T05:15:48.963
lastModified: 2026-06-17T07:09:38.807
- Source published
- 23 Apr 2024 05:15:48 UTC
- Source modified
- 17 Jun 2026 07:09:38 UTC
- Saved here
- 24 Oct 2026 23:17:16 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H