cve/2024/CVE-2024-21512.md
2024-06-08 09:32:58 +00:00

22 lines
957 B
Markdown

### [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/wy876/POC
- https://github.com/wy876/wiki