CVE-2024-21507 mysql2 cache poisoning vulnerability
MediumCVSS 5.3
EPSS 0.74%
- 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.3 are vulnerable to Improper Input Validation through the keyFromFields function, resulting in cache poisoning. An attacker can inject a colon (:) character within a value of the attacker-crafted key.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mysqljs mysql2 | < 3.9.3 | 3.9.3 | Fixed |
| npm mysql2(npm) | < 3.9.3 | 3.9.3 | Fixed |
| sidorares mysql2 | < 3.9.3 | 3.9.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mysql2(npm) | < 3.9.3 | 3.9.3 |
| mysqljs mysql2 | < 3.9.3 | 3.9.3 |
| sidorares mysql2 | < 3.9.3 | 3.9.3 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch
- github.com patch
- blog.slonser.info exploit permissions-required
- security.snyk.io exploit third-party-advisory
- github.com
- github.com product