cve/2024/CVE-2024-21508.md
2024-05-25 21:48:12 +02:00

19 lines
786 B
Markdown

### [CVE-2024-21508](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21508)
![](https://img.shields.io/static/v1?label=Product&message=mysql2&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%203.9.4%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Remote%20Code%20Execution%20(RCE)&color=brighgreen)
### Description
Versions of the package mysql2 before 3.9.4 are vulnerable to Remote Code Execution (RCE) via the readCodeFor function due to improper validation of the supportBigNumbers and bigNumberStrings values.
### POC
#### Reference
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591085
#### Github
- https://github.com/Geniorio01/CVE-2024-21508-mysql2-RCE
- https://github.com/nomi-sec/PoC-in-GitHub