Vulnerability
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 and tables when using nestTables.
5 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-2m6h-cf6v-rm9w
- CGA-37c8-22x6-jhrm
- CGA-g38q-jw79-2v6h
- CGA-hc87-8g2q-wx5p
-
GHSA-pmh2-wpjm-fj45
mysql2 vulnerable to Prototype Pollution
References
- https://gist.github.com/domdomi3/e9f0f9b9b1ed6bfbbc0bea87c5ca1e4a
- https://github.com/sidorares/node-mysql2/commit/efe3db527a2c94a63c2d14045baba8dfefe922bc
- https://github.com/sidorares/node-mysql2/pull/2702
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-7176010
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6861580