Package compatibility

mysql2 1.7

What Node.js versions does this mysql2 version support?

Compatibility is derived from the declared Node.js version requirement (npm engines.node). CompatHub does not independently test every combination.

Declared Node.js requirement

engines.node
>= 8.0
Tip version
1.7.0
Source
npm Registry (engines.node)

Node.js compatibility matrix

Evaluated against CompatHub Node.js VersionLines. Compatibility and lifecycle status are separate signals.

Other mysql2 lines

Security

Advisories affecting mysql2 1.7 (OSV.dev evidence). Known exploited status, due dates, and ransomware use from CISA KEV when matched.

Known vulnerabilities
5
Known exploited
0
Highest CVSS
  • CVE-2024-21512GHSA-pmh2-wpjm-fj45

    mysql2 vulnerable to Prototype Pollution

    Affected:
    <3.9.8
    Fixed in:
    3.9.8
    Source:
    OSV source · Advisory
  • CVE-2024-21511GHSA-4rch-2fh8-94vw

    MySQL2 for Node Arbitrary Code Injection

    Affected:
    <3.9.7
    Fixed in:
    3.9.7
    Source:
    OSV source · Advisory
  • CVE-2024-21508GHSA-fpw7-j2hg-69v5

    mysql2 Remote Code Execution (RCE) via the readCodeFor function

    Affected:
    <3.9.4
    Fixed in:
    3.9.4
    Source:
    OSV source · Advisory
  • CVE-2024-21509GHSA-49j4-86m8-q2jw

    mysql2 vulnerable to Prototype Poisoning

    Affected:
    <3.9.4
    Fixed in:
    3.9.4
    Source:
    OSV source · Advisory
  • CVE-2024-21507GHSA-mqr2-w7wj-jjgr

    mysql2 cache poisoning vulnerability

    Affected:
    <3.9.3
    Fixed in:
    3.9.3
    Source:
    OSV source · Advisory