mysql2
Affected
- introduced
0, fixed3.9.7(semver)
Fixed versions
3.9.7
Fix
- Fixed version
3.9.7npm install [email protected]
Advisory
Also known as: CVE-2024-21511
MySQL2 for Node Arbitrary Code Injection
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 3.9.7 (semver)3.9.7
3.9.7npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0