{"id":"EUVD-2024-1092","revision":"5e41fd644a1641cb9eac88ad48ed3ffd","records":[{"revision":"5e41fd644a1641cb9eac88ad48ed3ffd","observedAt":"2026-11-06T23:05:27.823+00:00","statement":{"source":"euvd","id":"EUVD-2024-1092","aliases":["CVE-2024-21511","GHSA-4rch-2fh8-94vw"],"title":"Versions of the package mysql2 before 3.9.7 are vulnerable to Arbitrary Code Injection due to improper sanitization of the timezone parameter in the readCodeFor function by calling a native MySQL Server date/time function.","description":"Versions of the package mysql2 before 3.9.7 are vulnerable to Arbitrary Code Injection due to improper sanitization of the timezone parameter in the readCodeFor function by calling a native MySQL Server date/time function.","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-6670046","https://github.com/sidorares/node-mysql2/releases/tag/v3.9.7","https://github.com/sidorares/node-mysql2/pull/2608","https://github.com/sidorares/node-mysql2/commit/7d4b098c7e29d5a6cb9eac2633bfcc2f0f1db713"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1092","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 23, 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-1092","identifiers":["EUVD-2024-1092","CVE-2024-21511","GHSA-4rch-2fh8-94vw"]},"retained":false,"historicalAffected":[]}],"coverage":[]}