CVE-2024-21511
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | mysql2 | 0 < 3.9.7 | affected |
Weaknesses
- CWE-94: Arbitrary Code Injection
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: total
CVE Program Container
Additional References
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6670046
- https://github.com/sidorares/node-mysql2/releases/tag/v3.9.7
- https://github.com/sidorares/node-mysql2/pull/2608
- https://github.com/sidorares/node-mysql2/commit/7d4b098c7e29d5a6cb9eac2633bfcc2f0f1db713
References
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6670046
- https://github.com/sidorares/node-mysql2/releases/tag/v3.9.7
- https://github.com/sidorares/node-mysql2/pull/2608
- https://github.com/sidorares/node-mysql2/commit/7d4b098c7e29d5a6cb9eac2633bfcc2f0f1db713
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.