CVE-2024-21512
High
Description
Versions of the package mysql2 before 3.9.8 are vulnerable to Prototype Pollution due to improper user input sanitization passed to fields and tables when using nestTables.
SeverityHigh
CVSS8.2
Exploit probability—
ProductMysql2
PublishedMay 29, 2024
First seenMay 29, 2024
Weakness typeCWE-1321Prototype pollution
How to fix
Update
- mysql23.9.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mysql2npm | v < 3.9.8 | 3.9.8 |
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.