{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "cveId": "CVE-2024-21511", "assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730", "state": "PUBLISHED", "assignerShortName": "snyk", "dateReserved": "2023-12-22T12:33:20.120Z", "datePublished": "2024-04-23T05:00:00.602Z", "dateUpdated": "2024-08-01T22:20:40.911Z" }, "containers": { "cna": { "metrics": [ { "cvssV3_1": { "version": "3.1", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P" } } ], "credits": [ { "value": "zhaoyudi (Nebulalab)", "lang": "en" } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-94", "description": "Arbitrary Code Injection", "lang": "en" } ] } ], "providerMetadata": { "orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730", "shortName": "snyk", "dateUpdated": "2024-05-08T09:07:06.904Z" }, "descriptions": [ { "value": "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.", "lang": "en" } ], "references": [ { "url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6670046" }, { "url": "https://github.com/sidorares/node-mysql2/releases/tag/v3.9.7" }, { "url": "https://github.com/sidorares/node-mysql2/pull/2608" }, { "url": "https://github.com/sidorares/node-mysql2/commit/7d4b098c7e29d5a6cb9eac2633bfcc2f0f1db713" } ], "affected": [ { "product": "mysql2", "versions": [ { "version": "0", "lessThan": "3.9.7", "status": "affected", "versionType": "semver" } ], "vendor": "n/a" } ] }, "adp": [ { "title": "CISA ADP Vulnrichment", "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2024-21511", "role": "CISA Coordinator", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "version": "2.0.3", "timestamp": "2024-04-25T14:55:36.593699Z" } } } ], "affected": [ { "cpes": [ "cpe:2.3:a:mysql2:mysql2:-:*:*:*:*:*:*:*" ], "vendor": "mysql2", "product": "mysql2", "versions": [ { "status": "affected", "version": "0", "lessThan": "3.9.7", "versionType": "semver" } ], "defaultStatus": "unknown" } ], "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-06-04T17:38:16.126Z" } }, { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-01T22:20:40.911Z" }, "title": "CVE Program Container", "references": [ { "url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6670046", "tags": [ "x_transferred" ] }, { "url": "https://github.com/sidorares/node-mysql2/releases/tag/v3.9.7", "tags": [ "x_transferred" ] }, { "url": "https://github.com/sidorares/node-mysql2/pull/2608", "tags": [ "x_transferred" ] }, { "url": "https://github.com/sidorares/node-mysql2/commit/7d4b098c7e29d5a6cb9eac2633bfcc2f0f1db713", "tags": [ "x_transferred" ] } ] } ] } }