PT-2024-2756
CVE-2024-21508
·
Published
2024-04-11
·
Updated
2026-09-11
Description by
CVSS 2.0
10
CriticalMetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
mysql2 versions prior to 3.9.4
Description
The issue is related to the
readCodeFor function in the mysql2 package, which is vulnerable to Remote Code Execution (RCE) due to improper validation of the supportBigNumbers and bigNumberStrings values. This allows a remote attacker to execute arbitrary code.Recommendations
For versions prior to 3.9.4, update to version 3.9.4 or later to resolve the issue.
As a temporary workaround, consider disabling the
readCodeFor function until a patch is available.
Restrict access to the mysql2 package to minimize the risk of exploitation.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾