6.5

CVE-2024-21507

Exploit
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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
SidoraresMysql2 Version < 3.9.3
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.74% 0.499
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.3 3.9 1.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
report@snyk.io 6.5 3.9 2.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CWE-20 Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

https://blog.slonser.info/posts/mysql2-attacker-configuration/
Exploit
Permissions Required
https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818
Patch
https://github.com/sidorares/node-mysql2/pull/2424
Exploit
Issue Tracking
https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300
Third Party Advisory
Exploit