CISA list

● npm package

mysql2

Mysql2 has seven security advisories. The newest release any of them names as the fix is 3.23.1.

As of , mysql2 has seven security advisories. The newest release any of them names as the fix is 3.23.1.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 3.23.13.23.17 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
GHSA-3f6p-5ww8-9rcrMySQL2: Auth Plugin Downgrade to mysql_clear_password Leaks Plaintext CredentialsHigh severityBefore 3.22.03.22.0
GHSA-rgwj-5xj2-c3m3MySQL2: Unbounded zlib inflate in compressed MySQL protocol handler allows decompression-bomb DoSModerate severityBefore 3.23.13.23.1
CVE-2024-21512GHSA-pmh2-wpjm-fj45mysql2 vulnerable to Prototype PollutionHigh severityBefore 3.9.83.9.8
CVE-2024-21511GHSA-4rch-2fh8-94vwMySQL2 for Node Arbitrary Code InjectionCritical severityBefore 3.9.73.9.7
CVE-2024-21508GHSA-fpw7-j2hg-69v5mysql2 Remote Code Execution (RCE) via the readCodeFor functionCritical severityBefore 3.9.43.9.4
CVE-2024-21509GHSA-49j4-86m8-q2jwmysql2 vulnerable to Prototype PoisoningModerate severityBefore 3.9.43.9.4
CVE-2024-21507GHSA-mqr2-w7wj-jjgrmysql2 cache poisoning vulnerabilityModerate severityBefore 3.9.33.9.3

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0