fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
latest non vulnerable version
9 years ago
latest version published
a year ago
Known vulnerabilities in the mysql2 package. This does not include vulnerabilities belonging to this package’s dependencies.Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
mysql2 is a mostly API compatible with mysqljs and supports majority of features.
Affected versions of this package are vulnerable to Man in The Middle (MiTM). The package does not verify remote certificates and reject unauthorized SSL connections.
How to fix Man in The Middle (MiTM)?