{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "cveId": "CVE-2024-21508", "assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730", "state": "PUBLISHED", "assignerShortName": "snyk", "dateReserved": "2023-12-22T12:33:20.119Z", "datePublished": "2024-04-11T05:00:00.748Z", "dateUpdated": "2024-08-01T22:20:40.908Z" }, "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": "Vsevolod Kokorin", "lang": "en" } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-94", "description": "Remote Code Execution (RCE)", "lang": "en" } ] } ], "providerMetadata": { "orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730", "shortName": "snyk", "dateUpdated": "2024-05-05T15:25:03.937Z" }, "descriptions": [ { "value": "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.", "lang": "en" } ], "references": [ { "url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591085" }, { "url": "https://blog.slonser.info/posts/mysql2-attacker-configuration/" }, { "url": "https://github.com/sidorares/node-mysql2/blob/1609b5393516d72a4ae47196837317fbe75e0c13/lib/parsers/text_parser.js%23L14C10-L14C21" }, { "url": "https://github.com/sidorares/node-mysql2/pull/2572" }, { "url": "https://github.com/sidorares/node-mysql2/commit/74abf9ef94d76114d9a09415e28b496522a94805" }, { "url": "https://github.com/sidorares/node-mysql2/releases/tag/v3.9.4" } ], "affected": [ { "product": "mysql2", "versions": [ { "version": "0", "lessThan": "3.9.4", "status": "affected", "versionType": "semver" } ], "vendor": "n/a" } ] }, "adp": [ { "affected": [ { "vendor": "mysql2", "product": "mysql2", "cpes": [ "cpe:2.3:a:mysql2:mysql2:-:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "versions": [ { "version": "0", "status": "affected", "lessThan": "3.9.4", "versionType": "custom" } ] } ], "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2024-04-11T13:05:22.610894Z", "id": "CVE-2024-21508", "options": [ { "Exploitation": "none" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-06-18T20:18:04.928Z" } }, { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-01T22:20:40.908Z" }, "title": "CVE Program Container", "references": [ { "url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591085", "tags": [ "x_transferred" ] }, { "url": "https://blog.slonser.info/posts/mysql2-attacker-configuration/", "tags": [ "x_transferred" ] }, { "url": "https://github.com/sidorares/node-mysql2/blob/1609b5393516d72a4ae47196837317fbe75e0c13/lib/parsers/text_parser.js%23L14C10-L14C21", "tags": [ "x_transferred" ] }, { "url": "https://github.com/sidorares/node-mysql2/pull/2572", "tags": [ "x_transferred" ] }, { "url": "https://github.com/sidorares/node-mysql2/commit/74abf9ef94d76114d9a09415e28b496522a94805", "tags": [ "x_transferred" ] }, { "url": "https://github.com/sidorares/node-mysql2/releases/tag/v3.9.4", "tags": [ "x_transferred" ] } ] } ] } }