CVEvulnerability
CVE-2024-21512
8.2 HIGH
Official page ↗
- Status
- Deferred
- Published
- 2024-05-29
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
- Weaknesses
- CWE-1321
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
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://gist.github.com/domdomi3/e9f0f9b9b1ed6bfbbc0bea87c5ca1e4a gist.github.com
- https://github.com/sidorares/node-mysql2/commit/efe3db527a2c94a63c2d14045baba8dfefe922bc github.com
- https://github.com/sidorares/node-mysql2/pull/2702 github.com
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-7176010 security.snyk.io
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6861580 security.snyk.io
- https://gist.github.com/domdomi3/e9f0f9b9b1ed6bfbbc0bea87c5ca1e4a gist.github.com
- https://github.com/sidorares/node-mysql2/commit/efe3db527a2c94a63c2d14045baba8dfefe922bc github.com
- https://github.com/sidorares/node-mysql2/pull/2702 github.com
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-7176010 security.snyk.io
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6861580 security.snyk.io