NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-21508: mysql2 Remote Code Execution (RCE) via the readCodeFor function

criticalCVSS 3.1 9.8GHSA-fpw7-j2hg-69v5

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.

Published Apr 11, 2024 · Updated Apr 12, 2024

Affected packages

mysql2

Ecosystem
npm
Affected
< 3.9.4
Fixed in
3.9.4
Check
npm ls mysql2

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries