NetSight
medium6.5

CVE-2024-21509

mysql2 vulnerable to Prototype Poisoning

Impact

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

EcosystemPackageAffectedFixed in
npmmysql2< 3.9.43.9.4

Affected products

VendorProductAffected versions
SidoraresMysql2
before 3.9.4

Weakness classification

References