CVE-2024-21511

CRITICAL9.8EPSS 0.17%

MySQL2 for Node Arbitrary Code Injection

Published: 4/23/2024Modified: 2/4/2026
Also known as:GHSA-4rch-2fh8-94vwCGA-2xc9-49gc-xr3p

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.

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1CRITICAL9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References (6)