CVE-2024-21512: MYSQL2

High severity, CVSS 8.2. EPSS: 3.1% chance of exploitation in the next 30 days.

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.

Affected products

  • MYSQL2 MYSQL2: before 3.9.8 (fixed in 3.9.8)

Published 2024-05-29. Last modified 2026-06-17.