### [CVE-2024-21512](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21512) ![](https://img.shields.io/static/v1?label=Product&message=mysql2&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=org.webjars.npm%3Amysql2&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=0%3C%20*%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Version&message=0%3C%203.9.8%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Prototype%20Pollution&color=brighgreen) ### 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. ### POC #### Reference - https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-7176010 - https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6861580 #### Github - https://github.com/0day404/HV-2024-POC - https://github.com/12442RF/POC - https://github.com/AboSteam/POPC - https://github.com/DMW11525708/wiki - https://github.com/Lern0n/Lernon-POC - https://github.com/Linxloop/fork_POC - https://github.com/WhosGa/MyWiki - https://github.com/Yuan08o/pocs - https://github.com/admin772/POC - https://github.com/adminlove520/pocWiki - https://github.com/adysec/POC - https://github.com/cisp-pte/POC-20241008-sec-fork - https://github.com/eeeeeeeeee-code/POC - https://github.com/greenberglinken/2023hvv_1 - https://github.com/iemotion/POC - https://github.com/laoa1573/wy876 - https://github.com/oLy0/Vulnerability - https://github.com/wjlin0/poc-doc - https://github.com/wy876/POC - https://github.com/wy876/wiki