{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-21507","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","state":"PUBLISHED","assignerShortName":"snyk","dateReserved":"2023-12-22T12:33:20.119Z","datePublished":"2024-04-10T05:00:01.727Z","dateUpdated":"2024-09-18T14:46:37.140Z"},"containers":{"cna":{"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L/E:P"}}],"credits":[{"value":"Vsevolod Kokorin (Slonser)","lang":"en"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"Improper Input Validation","lang":"en"}]}],"providerMetadata":{"orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","shortName":"snyk","dateUpdated":"2024-09-18T14:46:37.140Z"},"descriptions":[{"value":"Versions of the package mysql2 before 3.9.3 are vulnerable to Improper Input Validation through the keyFromFields function, resulting in cache poisoning. An attacker can inject a colon (:) character within a value of the attacker-crafted key.","lang":"en"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300"},{"url":"https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818"},{"url":"https://blog.slonser.info/posts/mysql2-attacker-configuration/"},{"url":"https://github.com/sidorares/node-mysql2/pull/2424"}],"affected":[{"product":"mysql2","versions":[{"version":"0","lessThan":"3.9.3","status":"affected","versionType":"semver"}],"vendor":"n/a"}]},"adp":[{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-20","lang":"en","description":"CWE-20 Improper Input Validation"}]}],"affected":[{"vendor":"mysqljs","product":"mysql2","cpes":["cpe:2.3:a:mysqljs:mysql2:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"3.9.3","versionType":"semver"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-25T19:03:05.282698Z","id":"CVE-2024-21507","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-31T17:23:17.633Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T22:20:40.881Z"},"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300","tags":["x_transferred"]},{"url":"https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818","tags":["x_transferred"]},{"url":"https://blog.slonser.info/posts/mysql2-attacker-configuration/","tags":["x_transferred"]},{"url":"https://github.com/sidorares/node-mysql2/pull/2424","tags":["x_transferred"]}]}]}}