Skip to main content
← All vulnerabilities
CVE-2024-21511GHSA-4RCH-2FH8-94VW

Versions of the package mysql2 before 3.9.7 are vulnerable to Arbitrary Code Injection due to improper sanitization of the timezone paramete

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.9.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • n/a mysql2

    fixed in 3.9.7

  • mysql2npm

    fixed in 3.9.7

References 4

security.snyk.io

GitHub · sidorares/node-mysql2