{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-21512","published":"2024-05-29T05:16:08.353000Z","last_modified":"2026-06-17T07:09:38.930000Z","status":"Deferred","cvss":{"version":"3.1","score":8.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","source":"report@snyk.io","primary":false},"auth":false,"cwes":["CWE-1321"],"cpes":[],"cpes_truncated":false,"vendors":["mysql2"],"products":["mysql2/mysql2"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.04628,"percentile":0.92487,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-pmh2-wpjm-fj45","ecosystem":"npm","name":"mysql2","purl":"pkg:npm/mysql2","ranges":[{"introduced":"0","fixed":"3.9.8"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":65,"links":{"html_es":"/es/cve/CVE-2024-21512/","html_en":"/en/cve/CVE-2024-21512/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-21512","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-21512"},"untrusted":{"vendor_name":"mysql2","product_name":"mysql2","desc_en":"Versions of the package mysql2 before 3.9.8 are vulnerable to Prototype Pollution due to improper user input sanitization passed to fields and tables when using nestTables.","affected":[{"untrusted_vendor":"mysql2","untrusted_product":"mysql2","versions":[]}],"references":[{"url":"https://gist.github.com/domdomi3/e9f0f9b9b1ed6bfbbc0bea87c5ca1e4a","tags":[]},{"url":"https://github.com/sidorares/node-mysql2/commit/efe3db527a2c94a63c2d14045baba8dfefe922bc","tags":[]},{"url":"https://github.com/sidorares/node-mysql2/pull/2702","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-7176010","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6861580","tags":[]}]}}