CVEvulnerability

CVE-2024-21511

9.8 CRITICAL Published 2024-04-23 Modified 2026-06-17 Official page ↗
Status
Deferred
Published
2024-04-23
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94

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.

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References