{"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.","aliases":[{"alias":"CVE-2024-21507"},{"alias":"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"}],"affected_packages":[],"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"}],"weaknesses":[{"cwe_id":20,"name":"Improper Input Validation","description":"The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-baa4-syb6-97d1"}