Prototype Pollution in Sidorares Mysql2

CVE-2024-21509

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

EPSS: 0.010 (57.2th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-21509?
CVE-2024-21509 is a medium-severity vulnerability in Sidorares Mysql2, classified under Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution). CVSS score: 6.5/10. Published 2024-04-10.
How severe is CVE-2024-21509?
Medium severity. CVSS v3 base score is 6.5 out of 10.