Skip to main content
← npm

mysql2

5 known vulnerabilities (2 critical, 1 high, 2 medium), with the versions each affects and the releases that fix them.

Latest release
Not known: cve.now hasn't read this package's releases
Newest unaffected release
Not known without release data
Advisories
5 · 2 critical, 1 high, 2 medium
Registry
npm

Advisories 5

  • Versions of the package mysql2 before 3.9.8 are vulnerable to Prototype Pollution due to improper user input sanitization passed to fields…

    Affected: fixed in 3.9.8.

  • CVE-2024-21511Critical 9.8

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

    Affected: fixed in 3.9.7.

  • CVE-2024-21508Critical 9.8

    Versions of the package mysql2 before 3.9.4 are vulnerable to Remote Code Execution (RCE) via the readCodeFor function due to improper…

    Affected: fixed in 3.9.4.

  • CVE-2024-21507Medium 6.5

    Versions of the package mysql2 before 3.9.3 are vulnerable to Improper Input Validation through the keyFromFields function, resulting in…

    Affected: fixed in 3.9.3.

  • CVE-2024-21509Medium 6.5

    Versions of the package mysql2 before 3.9.4 are vulnerable to Prototype Poisoning due to insecure results object creation and improper…

    Affected: fixed in 3.9.4.