mysql2 vulnerabilities
fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
- Registry
- npm
- Latest
- 3.24.6
- License
- MIT
7 known advisories
The latest version, 3.24.6, is not affected by any of them. Projects on older versions may be.
npm install mysql2@3.24.6Is your project on an affected mysql2?
Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for mysql2
MySQL2: Auth Plugin Downgrade to mysql_clear_password Leaks Plaintext Credentials
- Affected
- <3.22.0
- Fixed in
- 3.22.0
MySQL2: Unbounded zlib inflate in compressed MySQL protocol handler allows decompression-bomb DoS
- Affected
- <3.23.1
- Fixed in
- 3.23.1
mysql2 vulnerable to Prototype Pollution
- Affected
- <3.9.8
- Fixed in
- 3.9.8
MySQL2 for Node Arbitrary Code Injection
- Affected
- <3.9.7
- Fixed in
- 3.9.7
mysql2 Remote Code Execution (RCE) via the readCodeFor function
- Affected
- <3.9.4
- Fixed in
- 3.9.4
mysql2 vulnerable to Prototype Poisoning
- Affected
- <3.9.4
- Fixed in
- 3.9.4
mysql2 cache poisoning vulnerability
- Affected
- <3.9.3
- Fixed in
- 3.9.3
Is your mysql2 version vulnerable?
- mysql2 3.24No known advisories in 3.24.6
- mysql2 3.23No known advisories in 3.23.4
- mysql2 3.221 advisory in 3.22.6
- mysql2 3.212 advisories in 3.21.1
- mysql2 3.202 advisories in 3.20.0
- mysql2 3.192 advisories in 3.19.1
- mysql2 2.37 advisories in 2.3.3
- mysql2 2.27 advisories in 2.2.5
- mysql2 2.17 advisories in 2.1.0
- mysql2 2.07 advisories in 2.0.2
- mysql2 1.77 advisories in 1.7.0
- mysql2 1.67 advisories in 1.6.6
- mysql2 1.57 advisories in 1.5.3
- mysql2 1.47 advisories in 1.4.2
- mysql2 1.37 advisories in 1.3.6
- mysql2 1.27 advisories in 1.2.0
Which of your client projects still run an old mysql2?
NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other npm packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.