CVE-2024-21511
CRITICAL9.8EPSS 0.17%MySQL2 for Node Arbitrary Code Injection
發布日:2024/4/23修改日:2026/2/4
描述
Versions of the package mysql2 before 3.9.7 are vulnerable to Arbitrary Code Injection due to improper sanitization of the timezone parameter in the readCodeFor function by calling a native MySQL Server date/time function.
受影響套件(1)
- npm/mysql2from 0, < 3.9.7
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-21511
- PATCHhttps://github.com/sidorares/node-mysql2
- WEBhttps://github.com/sidorares/node-mysql2/commit/7d4b098c7e29d5a6cb9eac2633bfcc2f0f1db713
- WEBhttps://github.com/sidorares/node-mysql2/pull/2608
- WEBhttps://github.com/sidorares/node-mysql2/releases/tag/v3.9.7
- WEBhttps://security.snyk.io/vuln/SNYK-JS-MYSQL2-6670046