CVE-2024-21507
Last modified
CVE-2024-21507 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 0.74% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sidorares | Mysql2 | < 3.9.3 |
References
- https://blog.slonser.info/posts/mysql2-attacker-configuration/Exploit, Permissions Required
- https://github.com/sidorares/node-mysql2/pull/2424Exploit, Issue Tracking
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300Exploit, Third Party Advisory
- https://blog.slonser.info/posts/mysql2-attacker-configuration/Exploit, Permissions Required
- https://github.com/sidorares/node-mysql2/pull/2424Exploit, Issue Tracking
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-21507?
How severe is CVE-2024-21507?
How do I fix CVE-2024-21507?
Are you affected by CVE-2024-21507?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
