CVE-2024-21509 mysql2 vulnerable to Prototype Poisoning
MediumCVSS 6.5
EPSS 0.96%
- 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.4 are vulnerable to Prototype Poisoning due to insecure results object creation and improper user input sanitization passed through parserFn in text_parser.js and binary_parser.js.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mysqljs mysql2 | < 3.9.4 | 3.9.4 | Fixed |
| npm mysql2(npm) | < 3.9.4 | 3.9.4 | Fixed |
| sidorares mysql2 | < 3.9.4 | 3.9.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mysql2(npm) | < 3.9.4 | 3.9.4 |
| mysqljs mysql2 | < 3.9.4 | 3.9.4 |
| sidorares mysql2 | < 3.9.4 | 3.9.4 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch
- github.com patch
- blog.slonser.info exploit permissions-required
- github.com broken-link
- github.com release-notes
- security.snyk.io exploit third-party-advisory
- github.com
- github.com product