CVE-2024-21511 - CVE House
Back to Database
Status published Critical CVE-2024-21511

Versions of the package mysql2 before 3.9.7 are vulnerable to...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-21511

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • zhaoyudi (Nebulalab)

Affected Vendor

Affected Software

mysql2
Vulnerable Versions:
0

Timeline

Official Publish: April 23rd, 2024
Last Modified: August 1st, 2024
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P

Weaknesses (CWE)