190 matches found
Insufficiently Protected Credentials
Overview mysql2 is a mostly API compatible with mysqljs and supports majority of features. Affected versions of this package are vulnerable to Insufficiently Protected Credentials via the authSwitchRequest handling in lib/commands/authswitch.js and the direct auth path in...
12g (>=0.0.27, <=1.0.1), 1st-project (1.0.2) +3369 more potentially affected by unknown CVE via mysql2 (>=0.8.21, <=3.21.1)
mysql2 NPM version =0.8.21, =0.0.27, =0.0.2, =0.0.1-alpha.5, =0.0.1-alpha.4, =0.0.1-alpha.1, =0.0.1, =4.2.3, =15.0.0, =0.0.1, =0.7.2, =0.8.1 and more Source cves: unknown CVE Source advisory: SNYK:JS-MYSQL2-19498545...
GHSA-3F6P-5WW8-9RCR MySQL2: Auth Plugin Downgrade to mysql_clear_password Leaks Plaintext Credentials
Summary A rogue MySQL server or MITM can force mysql2 to send credentials in plaintext by requesting an auth switch to mysqlclearpassword. The driver complies without verifying that TLS is active. Details mysqlclearpassword is registered as a default standard plugin in lib/commands/authswitch.js...
MySQL2: Auth Plugin Downgrade to mysql_clear_password Leaks Plaintext Credentials
Summary A rogue MySQL server or MITM can force mysql2 to send credentials in plaintext by requesting an auth switch to mysqlclearpassword. The driver complies without verifying that TLS is active. Details mysqlclearpassword is registered as a default standard plugin in lib/commands/authswitch.js...
12g (>=0.0.27, <=1.0.1), 1st-project (1.0.2) +3369 more potentially affected by unknown CVE via mysql2 (>=0.8.21, <=3.21.1)
mysql2 NPM version =0.8.21, =0.0.27, =0.0.2, =0.0.1-alpha.5, =0.0.1-alpha.4, =0.0.1-alpha.1, =0.0.1, =4.2.3, =15.0.0, =0.0.1, =0.7.2, =0.8.1 and more Source cves: unknown CVE Source advisory: GHSA-3F6P-5WW8-9RCR...
CLSA-2026-1788255454 TuxCare security update for mysql2 (1 CVE)
TuxCare rebuilt mysql2 to address 1 CVE. Fixed in 2.3.3-tuxcare.6...
PT-2026-85144
Summary A rogue MySQL server or MITM can force mysql2 to send credentials in plaintext by requesting an auth switch to mysql clear password. The driver complies without verifying that TLS is active. Details mysql clear password is registered as a default standard plugin in lib/commands/auth...
PT-2026-89980
TuxCare rebuilt mysql2 to address 1 CVE. Fixed in 2.3.3-tuxcare.6...
WS-2026-0048
node-mysql2 accepts a server-initiated switch to the mysqlclearpassword authentication plugin without requiring explicit opt-in, so the client transmits the password in plaintext. A malicious or DNS-hijacked server can request cleartext authentication and capture credentials even when the...
12g (>=0.0.27, <=1.0.1), 1st-project (1.0.2) +3369 more potentially affected by unknown CVE via mysql2 (>=0.8.21, <=3.21.1)
mysql2 NPM version =0.8.21, =0.0.27, =0.0.2, =0.0.1-alpha.5, =0.0.1-alpha.4, =0.0.1-alpha.1, =0.0.1, =4.2.3, =15.0.0, =0.0.1, =0.7.2, =0.8.1 and more Source cves: unknown CVE Source advisory: MEND:WS-2026-0048...
12g (>=0.0.27, <=1.0.1), 1st-project (1.0.2) +3383 more potentially affected by unknown CVE via mysql2 (>=0.8.21, <=3.23.0)
mysql2 NPM version =0.8.21, =0.0.27, =0.0.2, =0.0.1-alpha.5, =0.0.1-alpha.4, =0.0.1-alpha.1, =0.0.1, =4.2.3, =15.0.0, =0.0.1, =0.7.2, =0.8.1 and more Source cves: unknown CVE Source advisory: SNYK:JS-MYSQL2-19512510...
12g (>=0.0.27, <=1.0.1), 1st-project (1.0.2) +3383 more potentially affected by unknown CVE via mysql2 (>=0.8.21, <=3.23.0)
mysql2 NPM version =0.8.21, =0.0.27, =0.0.2, =0.0.1-alpha.5, =0.0.1-alpha.4, =0.0.1-alpha.1, =0.0.1, =4.2.3, =15.0.0, =0.0.1, =0.7.2, =0.8.1 and more Source cves: unknown CVE Source advisory: OSV:GHSA-RGWJ-5XJ2-C3M3...
GHSA-RGWJ-5XJ2-C3M3 MySQL2: Unbounded zlib inflate in compressed MySQL protocol handler allows decompression-bomb DoS
Vulnerability Details File: lib/compressedprotocol.js Line: 43 zlib.inflatebody, err, data = ... inside handleCompressedPacket Root Cause When a connection is created with compress: true and the server advertises CLIENTCOMPRESS, every incoming packet is unwrapped by handleCompressedPacket in...
Data Amplification
Overview mysql2 is a mostly API compatible with mysqljs and supports majority of features. Affected versions of this package are vulnerable to Data Amplification in the handleCompressedPacket function of lib/compressedprotocol.js, which calls zlib.inflatebody, ... without a maxOutputLength option...
12g (>=0.0.27, <=1.0.1), 1st-project (1.0.2) +3383 more potentially affected by unknown CVE via mysql2 (>=0.8.21, <=3.23.0)
mysql2 NPM version =0.8.21, =0.0.27, =0.0.2, =0.0.1-alpha.5, =0.0.1-alpha.4, =0.0.1-alpha.1, =0.0.1, =4.2.3, =15.0.0, =0.0.1, =0.7.2, =0.8.1 and more Source cves: unknown CVE Source advisory: GHSA-RGWJ-5XJ2-C3M3...
MySQL2: Unbounded zlib inflate in compressed MySQL protocol handler allows decompression-bomb DoS
Vulnerability Details File: lib/compressedprotocol.js Line: 43 zlib.inflatebody, err, data = ... inside handleCompressedPacket Root Cause When a connection is created with compress: true and the server advertises CLIENTCOMPRESS, every incoming packet is unwrapped by handleCompressedPacket in...
NPM: MySQL2: Unbounded zlib inflate in compressed MySQL protocol handler allows decompression-bomb DoS
NPM: MySQL2: Unbounded zlib inflate in compressed MySQL protocol handler allows decompression-bomb DoS vulnerability discovered by ? in WordPress Npm mysql2 versions = 3.23.0...
PT-2026-85149
Vulnerability Details File: lib/compressed protocol.js Line: 43 zlib.inflatebody, err, data = ... inside handleCompressedPacket Root Cause When a connection is created with compress: true and the server advertises CLIENT COMPRESS, every incoming packet is unwrapped by handleCompressedPacket in...