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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mysql2 | < 3.9.8 | 3.9.8 | Fixed |
| npm mysql2(npm) | < 3.9.8 | 3.9.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mysql2(npm) | < 3.9.8 | 3.9.8 |
| mysql2 | < 3.9.8 | 3.9.8 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- gist.github.com
- security.snyk.io
- security.snyk.io
- github.com
- github.com product