Advisory

GHSA-pmh2-wpjm-fj45

Also known as: CVE-2024-21512

Summary

mysql2 vulnerable to Prototype Pollution

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-05-30 18:34 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

mysql2

npm · All systems

Affected

  • introduced 0, fixed 3.9.8 (semver)

Fixed versions

3.9.8

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences