What’s Vulnerable › Vulnerabilities

CVE-2024-21511

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 products

How to fix

Upgrade to a fixed version: Mysql2 3.9.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-21511 or the next vulnerability affects your stack