FKIE_CVE-2024-21507
Vulnerability from fkie_nvd - Published: 2024-04-10 05:15 - Updated: 2025-06-17 18:23
Severity ?
6.5 (Medium) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
5.3 (Medium) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
5.3 (Medium) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Summary
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.
References
| URL | Tags | ||
|---|---|---|---|
| report@snyk.io | https://blog.slonser.info/posts/mysql2-attacker-configuration/ | Exploit, Permissions Required | |
| report@snyk.io | https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818 | Patch | |
| report@snyk.io | https://github.com/sidorares/node-mysql2/pull/2424 | Exploit, Issue Tracking | |
| report@snyk.io | https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300 | Exploit, Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://blog.slonser.info/posts/mysql2-attacker-configuration/ | Exploit, Permissions Required | |
| af854a3a-2127-422b-91ae-364da2661108 | https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818 | Patch | |
| af854a3a-2127-422b-91ae-364da2661108 | https://github.com/sidorares/node-mysql2/pull/2424 | Exploit, Issue Tracking | |
| af854a3a-2127-422b-91ae-364da2661108 | https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300 | Exploit, Third Party Advisory |
{
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:sidorares:mysql2:*:*:*:*:*:*:*:*",
"matchCriteriaId": "9DD0B984-3AAA-42F9-83D7-313D82B5C414",
"versionEndExcluding": "3.9.3",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"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": "es",
"value": "Las versiones del paquete mysql2 anteriores a la 3.9.3 son vulnerables a una validaci\u00f3n de entrada incorrecta a trav\u00e9s de la funci\u00f3n keyFromFields, lo que provoca envenenamiento de la cach\u00e9. Un atacante puede inyectar un car\u00e1cter de dos puntos (:) dentro de un valor de la clave creada por el atacante."
}
],
"id": "CVE-2024-21507",
"lastModified": "2025-06-17T18:23:16.297",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 2.5,
"source": "report@snyk.io",
"type": "Secondary"
},
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 1.4,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2024-04-10T05:15:48.290",
"references": [
{
"source": "report@snyk.io",
"tags": [
"Exploit",
"Permissions Required"
],
"url": "https://blog.slonser.info/posts/mysql2-attacker-configuration/"
},
{
"source": "report@snyk.io",
"tags": [
"Patch"
],
"url": "https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818"
},
{
"source": "report@snyk.io",
"tags": [
"Exploit",
"Issue Tracking"
],
"url": "https://github.com/sidorares/node-mysql2/pull/2424"
},
{
"source": "report@snyk.io",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Exploit",
"Permissions Required"
],
"url": "https://blog.slonser.info/posts/mysql2-attacker-configuration/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch"
],
"url": "https://github.com/sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Exploit",
"Issue Tracking"
],
"url": "https://github.com/sidorares/node-mysql2/pull/2424"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300"
}
],
"sourceIdentifier": "report@snyk.io",
"vulnStatus": "Analyzed",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-20"
}
],
"source": "report@snyk.io",
"type": "Secondary"
},
{
"description": [
{
"lang": "en",
"value": "CWE-20"
}
],
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary"
}
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…