Skip to content

CVE-2024-21512 mysql2 vulnerable to Prototype Pollution

HighCVSS 8.2 EPSS 3.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
mysql2 < 3.9.8 3.9.8 Fixed
npm mysql2(npm) < 3.9.8 3.9.8 Fixed

Affected products

ProductAffected versionsFixed in
npm mysql2(npm) < 3.9.8 3.9.8
mysql2 < 3.9.8 3.9.8

References