GitHub Advisoryadvisory · npm
GHSA-pmh2-wpjm-fj45 mysql2 vulnerable to Prototype Pollution
HIGH
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
- https://nvd.nist.gov/vuln/detail/CVE-2024-21512 advisory
- https://github.com/sidorares/node-mysql2/pull/2702 web
- https://github.com/sidorares/node-mysql2/commit/efe3db527a2c94a63c2d14045baba8dfefe922bc web
- https://gist.github.com/domdomi3/e9f0f9b9b1ed6bfbbc0bea87c5ca1e4a web
- https://github.com/sidorares/node-mysql2 package
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-7176010 web
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6861580 web