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