CVE-2024-21507
published medium CVSS 3.1 · 6.5mysql2: Improper Input Validation
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | mysql2 | 0 to < 3.9.3 (affected · semver) | snyk · cna |
| mysqljs | mysql2 | 0 to < 3.9.3 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-20 Improper Input Validation
- CWE-20 CWE-20 Improper Input Validation
References
4Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 51586b6b375278e056b68a8483b399b62e22b6a30c75ff7a8cd587ca7736bb59
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record