← Back to CVEs
CVE-2024-21508
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published4/11/2024
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Weaknesses (CWE)
CWE-94
References
https://blog.slonser.info/posts/mysql2-attacker-configuration/(report@snyk.io)
https://github.com/sidorares/node-mysql2/blob/1609b5393516d72a4ae47196837317fbe75e0c13/lib/parsers/text_parser.js%23L14C10-L14C21(report@snyk.io)
https://github.com/sidorares/node-mysql2/commit/74abf9ef94d76114d9a09415e28b496522a94805(report@snyk.io)
https://github.com/sidorares/node-mysql2/pull/2572(report@snyk.io)
https://github.com/sidorares/node-mysql2/releases/tag/v3.9.4(report@snyk.io)
https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591085(report@snyk.io)
https://blog.slonser.info/posts/mysql2-attacker-configuration/(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/sidorares/node-mysql2/blob/1609b5393516d72a4ae47196837317fbe75e0c13/lib/parsers/text_parser.js%23L14C10-L14C21(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/sidorares/node-mysql2/commit/74abf9ef94d76114d9a09415e28b496522a94805(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/sidorares/node-mysql2/pull/2572(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/sidorares/node-mysql2/releases/tag/v3.9.4(af854a3a-2127-422b-91ae-364da2661108)
https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591085(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.