CVE-2024-21511

published 23 Apr 2024 · updated 1 Aug 2024

Versions of the package mysql2 before 3.9.7 are vulnerable to Arbitrary Code Injection due to improper sanitization of the timezone…

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.9.7.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<3.9.73.9.7

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-21511 severity on Zeptric[![CVE-2024-21511](https://zeptric.io/badge/cve/CVE-2024-21511.svg)](https://zeptric.io/cve/CVE-2024-21511)