{"url":"http://public2.vulnerablecode.io/api/packages/69709?format=json","purl":"pkg:npm/mysql2@3.9.3","type":"npm","namespace":"","name":"mysql2","version":"3.9.3","qualifiers":{},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":"3.9.4","latest_non_vulnerable_version":"3.9.7","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/47441?format=json","vulnerability_id":"VCID-baa4-syb6-97d1","summary":"mysql2 cache poisoning vulnerability\nVersions 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.","references":[{"reference_url":"https://blog.slonser.info/posts/mysql2-attacker-configuration","reference_id":"","reference_type":"","scores":[],"url":"https://blog.slonser.info/posts/mysql2-attacker-configuration"},{"reference_url":"https://github.com/sidorares/node-mysql2","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/sidorares/node-mysql2"},{"reference_url":"https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818"},{"reference_url":"https://github.com/sidorares/node-mysql2/pull/2424","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/sidorares/node-mysql2/pull/2424"},{"reference_url":"https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300","reference_id":"","reference_type":"","scores":[],"url":"https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21507","reference_id":"CVE-2024-21507","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21507"},{"reference_url":"https://github.com/advisories/GHSA-mqr2-w7wj-jjgr","reference_id":"GHSA-mqr2-w7wj-jjgr","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-mqr2-w7wj-jjgr"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/69709?format=json","purl":"pkg:npm/mysql2@3.9.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/mysql2@3.9.3"}],"aliases":["CVE-2024-21507","GHSA-mqr2-w7wj-jjgr"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-baa4-syb6-97d1"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/mysql2@3.9.3"}