FKIE_CVE-2024-21508
Vulnerability from fkie_nvd - Published: 2024-04-11 05:15 - Updated: 2026-04-15 00:35
Severity ?
Summary
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.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"cveTags": [],
"descriptions": [
{
"lang": "en",
"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": "es",
"value": "Las versiones del paquete mysql2 anteriores a la 3.9.4 son vulnerables a la ejecuci\u00f3n remota de c\u00f3digo (RCE) a trav\u00e9s de la funci\u00f3n readCodeFor debido a una validaci\u00f3n incorrecta de los valores supportBigNumbers y bigNumberStrings."
}
],
"id": "CVE-2024-21508",
"lastModified": "2026-04-15T00:35:42.020",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9,
"source": "report@snyk.io",
"type": "Secondary"
}
]
},
"published": "2024-04-11T05:15:47.263",
"references": [
{
"source": "report@snyk.io",
"url": "https://blog.slonser.info/posts/mysql2-attacker-configuration/"
},
{
"source": "report@snyk.io",
"url": "https://github.com/sidorares/node-mysql2/blob/1609b5393516d72a4ae47196837317fbe75e0c13/lib/parsers/text_parser.js%23L14C10-L14C21"
},
{
"source": "report@snyk.io",
"url": "https://github.com/sidorares/node-mysql2/commit/74abf9ef94d76114d9a09415e28b496522a94805"
},
{
"source": "report@snyk.io",
"url": "https://github.com/sidorares/node-mysql2/pull/2572"
},
{
"source": "report@snyk.io",
"url": "https://github.com/sidorares/node-mysql2/releases/tag/v3.9.4"
},
{
"source": "report@snyk.io",
"url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591085"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://blog.slonser.info/posts/mysql2-attacker-configuration/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://github.com/sidorares/node-mysql2/blob/1609b5393516d72a4ae47196837317fbe75e0c13/lib/parsers/text_parser.js%23L14C10-L14C21"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://github.com/sidorares/node-mysql2/commit/74abf9ef94d76114d9a09415e28b496522a94805"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://github.com/sidorares/node-mysql2/pull/2572"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://github.com/sidorares/node-mysql2/releases/tag/v3.9.4"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591085"
}
],
"sourceIdentifier": "report@snyk.io",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-94"
}
],
"source": "report@snyk.io",
"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…