VulnerabilityAnalyzed
CVE-2024-21507
Versions of the package mysql2 before 3.9.3 are vulnerable to Improper Input Validation through the keyFromFields function, resulting in cache poisoning.
MEDIUM 5.3EPSS 0.74%
Does this matter?
Lower severity and a low EPSS score (0.74%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.3 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS
- 0.74% probability · 53th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- sidorares/mysql2
- Source
- report@snyk.io
References
- https://blog.slonser.info/posts/mysql2-attacker-configuration/Exploit, Permissions Required
- https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818Patch
- 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/commit/0d54b0ca6498c823098426038162ef10df02c818Patch
- https://github.com/sidorares/node-mysql2/pull/2424Exploit, Issue Tracking
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.