All reports
Critical

MySQL2 for Node Arbitrary Code Injection

Affected versions

Affected versions
< 3.9.7
Fixed version
3.9.7

Exploitation

CVE-2024-21511

Probability of exploitation in the next 30 days: 1.03%

FIRST EPSS · 2026-11-20

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.

Links