CVE-2024-21508
Critical
Description
Versions of the package mysql2 before 3.9.4 are vulnerable to Remote Code Execution (RCE) via the readCodeFor function due to improper validation of the supportBigNumbers and bigNumberStrings values.
SeverityCritical
CVSS9.8
Exploit probability—
ProductMysql2
PublishedApr 11, 2024
First seenApr 11, 2024
Weakness typeCWE-94Code injection
How to fix
Update
- mysql23.9.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mysql2npm | v < 3.9.4 | 3.9.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.