CVE-2024-21509

MEDIUM6.5EPSS 0.77%

mysql2 vulnerable to Prototype Poisoning

Published: 4/10/2024Modified: 2/4/2026
Also known as:GHSA-49j4-86m8-q2jwCGA-7qhm-qrxq-mfrw

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`.

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
osvCVSS 3.1MEDIUM6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

References (8)