VDB
CVE-2024-21508
CVE-2024-21508
PUBLISHED
CVSS 9.800000190734863 CRITICAL
mysql2 Remote Code Execution (RCE) via the readCodeFor function
EPSS 2.55% · 84.9th percentile
Risk Scores
CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
EPSS Score
2.55%
84.9th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| npm | mysql2 | 0, 0, 0 |
| n/a | mysql2 | 0, 0 |
| mysql2 | mysql2 | 0, 0 |
Timeline
- Apr 11, 2024 CVE Published
- Apr 11, 2024 EPSS Score
- Apr 12, 2024 CVE Updated
- Apr 13, 2024 PoC Published
- Apr 13, 2024 PoC Published
- Jun 1, 2024 EPSS Score
- Jun 26, 2024 EPSS Score
- Aug 16, 2024 EPSS Score
- Sep 11, 2024 EPSS Score
- Oct 4, 2024 Coalition ESS Score
- Nov 1, 2024 EPSS Score
- Nov 26, 2024 EPSS Score
References
- https://github.com/sidorares/node-mysql2/pull/2572 fix
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591085 url
- https://github.com/sidorares/node-mysql2/releases/tag/v3.9.4 fix
- https://github.com/sidorares/node-mysql2/commit/74abf9ef94d76114d9a09415e28b496522a94805 fix
- https://nvd.nist.gov/vuln/detail/CVE-2024-21508 advisory
- https://github.com/sidorares/node-mysql2 package
- https://blog.slonser.info/posts/mysql2-attacker-configuration/ technical
- https://github.com/sidorares/node-mysql2/blob/1609b5393516d72a4ae47196837317fbe75e0c13/lib/parsers/text_parser.js%23L14C10-L14C21 technical
- https://blog.slonser.info/posts/mysql2-attacker-configuration url