CVE-2024-21512
Versions of the package mysql2 before 3.9.8 are vulnerable to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/domdomi3/e9f0f9b9b1ed6bfbbc0bea87c5ca1e4a
- github.com/sidorares/node-mysql2/commit/efe3db527a2c94a63c2d14045baba8dfefe922bc
- github.com/sidorares/node-mysql2/pull/2702
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-7176010
- security.snyk.io/vuln/SNYK-JS-MYSQL2-6861580
- nvd.nist.gov/vuln/detail/CVE-2024-21512
- github.com/advisories/GHSA-pmh2-wpjm-fj45
- nvd.nist.gov/vuln/detail/CVE-2024-21512
- cve.org/CVERecord?id=CVE-2024-21512
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.