Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2024-21507 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 25, 2024Exploitation: PocAutomatable: YesTechnical Impact: Partial
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.slonser.info/posts/mysql2-attacker-configuration/ | CVE | ExploitPermissions Required |
| https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818 | CVE | Patch |
| https://github.com/sidorares/node-mysql2/pull/2424 | CVE | ExploitIssue Tracking |
| https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300 | CVE | ExploitThird Party Advisory |
| https://blog.slonser.info/posts/mysql2-attacker-configuration/ | [email protected] | ExploitPermissions Required |
| https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818 | [email protected] | Patch |
| https://github.com/sidorares/node-mysql2/pull/2424 | [email protected] | ExploitIssue Tracking |
| https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | CISA-ADP |
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sidorares mysql2 | < 3.9.3 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 1, 2024 | CVE Modified | CISA-ADP |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 10, 2024 | New CVE Received | [email protected] |