CVE-2024-21511 CRITICAL

CVE-2024-21511

Vendor N/A
Product mysql2
Weakness CWE-94 · Code injection
Published April 23, 2024
Last update August 1, 2024

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 23, 2024 CVE published
August 1, 2024 Record updated