{"id":"CGA-2249-7g6w-c2m3","modified":"2026-07-17T18:24:36.488415327Z","published":"2025-10-30T19:00:42Z","upstream":["CVE-2024-21509","GHSA-49j4-86m8-q2jw"],"references":[{"type":"WEB","url":"https://github.com/sidorares/node-mysql2/blob/fd3d117da82cc5c5fa5a3701d7b33ca77691bc61/lib/parsers/text_parser.js%23L134"},{"type":"FIX","url":"https://github.com/sidorares/node-mysql2/commit/4a964a3910a4b8de008696c554ab1b492e9b4691"},{"type":"WEB","url":"https://github.com/sidorares/node-mysql2/releases/tag/v3.9.4"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591084"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21509.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21509"},{"type":"FIX","url":"https://github.com/sidorares/node-mysql2/pull/2574"},{"type":"ARTICLE","url":"https://blog.slonser.info/posts/mysql2-attacker-configuration/"}],"affected":[{"package":{"name":"sqlpad-compat","ecosystem":"Chainguard","purl":"pkg:apk/chainguard/sqlpad-compat?arch=x86_64"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.1-r4"}]}],"ecosystem_specific":{"components":[{"latest_event_timestamp":"2024-05-11T11:19:18Z","architecture":"x86_64","component_name":"mysql2","component_version":"3.9.1","component_type":"npm","component_location":"/usr/bin/sqlpad-server/node_modules/mysql2/package.json","component_purl":"pkg:npm/mysql2@3.9.1","latest_event_status":"fixed"}]},"database_specific":{"source":"https://advisories.cgr.dev/chainguard/v3/osv/CGA-2249-7g6w-c2m3.json"}},{"package":{"name":"sqlpad-compat","ecosystem":"Wolfi","purl":"pkg:apk/wolfi/sqlpad-compat?arch=x86_64"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4.1-r4"}]}],"ecosystem_specific":{"components":[{"component_type":"npm","component_location":"/usr/bin/sqlpad-server/node_modules/mysql2/package.json","component_purl":"pkg:npm/mysql2@3.9.1","latest_event_status":"fixed","latest_event_timestamp":"2024-05-11T11:19:18Z","architecture":"x86_64","component_name":"mysql2","component_version":"3.9.1"}]},"database_specific":{"source":"https://advisories.cgr.dev/chainguard/v3/osv/CGA-2249-7g6w-c2m3.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P"}]}