Prototype Pollution in Mysql2
CVE-2024-21512
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.
Vulnerability class: Prototype Pollution
EPSS: 0.683 (98.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P.
Affected products
- N/a Mysql2 — versions 0
- N/a Org.webjars.npm:mysql2 — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2024-21512?
- CVE-2024-21512 is a high-severity vulnerability in Mysql2, classified under Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution). CVSS score: 8.2/10. Published 2024-05-29.
- How severe is CVE-2024-21512?
- High severity. CVSS v3 base score is 8.2 out of 10.
- Is CVE-2024-21512 known to be exploited?
- 21 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.