{"id":"EUVD-2024-1197","revision":"77ce2ae031e54a6bb606c83de413bf1c","records":[{"revision":"77ce2ae031e54a6bb606c83de413bf1c","observedAt":"2026-10-31T20:15:35.546+00:00","statement":{"source":"euvd","id":"EUVD-2024-1197","aliases":["CVE-2024-21508","GHSA-fpw7-j2hg-69v5"],"title":"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.","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"severity":null}],"references":["https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591085","https://blog.slonser.info/posts/mysql2-attacker-configuration/","https://github.com/sidorares/node-mysql2/blob/1609b5393516d72a4ae47196837317fbe75e0c13/lib/parsers/text_parser.js%23L14C10-L14C21","https://github.com/sidorares/node-mysql2/pull/2572","https://github.com/sidorares/node-mysql2/commit/74abf9ef94d76114d9a09415e28b496522a94805","https://github.com/sidorares/node-mysql2/releases/tag/v3.9.4"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1197","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 11, 2024, 5:00:00 AM","dateUpdated":"Aug 1, 2024, 10:20:40 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-1197","identifiers":["EUVD-2024-1197","CVE-2024-21508","GHSA-fpw7-j2hg-69v5"]},"retained":false,"historicalAffected":[]}],"coverage":[]}