CVE-2024-21511 MySQL2 for Node Arbitrary Code Injection
CriticalCVSS 9.8
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- MySQL
Description
Versions of the package mysql2 before 3.9.7 are vulnerable to Arbitrary Code Injection due to improper sanitization of the timezone parameter in the readCodeFor function by calling a native MySQL Server date/time function.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mysql2 | < 3.9.7 | 3.9.7 | Fixed |
| npm mysql2(npm) | < 3.9.7 | 3.9.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mysql2(npm) | < 3.9.7 | 3.9.7 |
| mysql2 | < 3.9.7 | 3.9.7 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com
- security.snyk.io
- github.com
- github.com product