PT-2024-18923 · Mysql2 · Mysql2
Vsevolod Kokorin
·
Published
2024-04-10
·
Updated
2025-06-17
·
CVE-2024-21509
CVSS v4.0
6.9
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
mysql2 versions prior to 3.9.4
Description
The issue is related 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.Recommendations
For versions prior to 3.9.4, update to version 3.9.4 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
parserFn function in text parser.js and binary parser.js until a patch is applied.Exploit
Fix
Prototype Pollution
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mysql2