GitHub Advisoryadvisory · npm

GHSA-pmh2-wpjm-fj45 mysql2 vulnerable to Prototype Pollution

HIGH Published 2024-05-30 Modified 2024-06-06 Official page ↗
Aliases
CVE-2024-21512
Ecosystem
npm
Packages
mysql2
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Weaknesses
CWE-1321
Reviewed
2024-05-30

Affected packages

• npm mysql2: < 3.9.8 → fixed in 3.9.8

Description

Versions of the package mysql2 before 3.9.8 are vulnerable to Prototype Pollution due to improper user input sanitization passed to fields and tables when using nestTables.

Related

Alias · CVE (1)

  • CVE-2024-21512 Versions of the package mysql2 before 3.9.8 are vulnerable to Prototype Pollution due to improper user input sanitization passed to fields… vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References