9.8critical
mysql2 Remote Code Execution (RCE) via the readCodeFor function
- Severity
- 9.8critical CVSS:3.1 by snyk
- Exploit likelihood
- 2.55% (higher than 85% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-fpw7-j2hg-69v5
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mysql2 | before 3.9.4 | CVE List |
| mysql2 mysql2 | before 3.9.4 | CVE List |
| mysql2 (npm) | before 3.9.4 | GitHub Advisory Database |
All scores
| snyk | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Las versiones del paquete mysql2 anteriores a la 3.9.4 son vulnerables a la ejecución remota de código (RCE) a través de la función readCodeFor debido a una validación incorrecta de los valores supportBigNumbers y bigNumberStrings.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21508 changed 2024-08-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fpw7-j2hg-69v5 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-21508 changed 2026-06-17 | Public domain |