Prototype Pollution in Sidorares Mysql2
CVE-2024-21509
- CVSS v3
- 6.5 Medium
- Public exploits
- None known
- EPSS
- 0.010 · 62.2th percentile
- Published
- 2024-04-10
Versions of the package mysql2 before 3.9.4 are vulnerable to Prototype Poisoning due to insecure results object creation and improper user input sanitization passed through parserFn in text_parser.js and binary_parser.js.
Vulnerability class: Prototype Pollution
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.010, 62.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Sidorares Mysql2
- Mysql2 — versions 0
Weakness classification (CWE)
References
- security.snyk.io/vuln/SNYK-JS-MYSQL2-6591084 (Exploit, Third Party Advisory)
- blog.slonser.info/posts/mysql2-attacker-configuration/ (Permissions Required, Exploit)
- github.com/sidorares/node-mysql2/blob/fd3d117da82cc5c5fa5a3701d7b33ca77691bc61/… (Broken Link)
- github.com/sidorares/node-mysql2/commit/4a964a3910a4b8de008696c554ab1b492e9b4691 (Patch)
- github.com/sidorares/node-mysql2/pull/2574 (Exploit, Issue Tracking)
- github.com/sidorares/node-mysql2/releases/tag/v3.9.4 (Release Notes)