mysql2 vulnerabilities

fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
Licenses: MIT

Package Health Score

91/100
  • securityNo known security issues
  • popularityKey ecosystem project
  • maintenanceSustainable
  • communityActive

Maintenance

SUSTAINABLE

Commit Frequency

Loading chart...

Open Issues
435
Open PR
45
New PRS
1
Last Release
1 days ago
Last Commit
1 days ago
Maintainers
1

Further analysis of the maintenance status of mysql2 based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Sustainable.

We found that mysql2 demonstrates a positive version release cadence with at least one new version released in the past 3 months.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Popularity

KEY ECOSYSTEM PROJECT
Weekly downloads (5.9M)
GitHub Stars
4.3k
Forks
662
Contributors
240

The npm package mysql2 receives a total of 5,866,757 downloads a week. As such, we scored mysql2 popularity level to be Key ecosystem project.

Based on project statistics from the GitHub repository for the npm package mysql2, we found that it has been starred 4,344 times.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Community

ACTIVE
Readme.md
Yes
Contributing.md
Yes
Code of Conduct
Yes
Contributors
240
Funding
Yes
LICENSE
MIT

A good and healthy external contribution signal for mysql2 project, which invites more than one hundred open source maintainers to collaborate on the repository.

License

MIT>=0;

Direct Vulnerabilities

Known vulnerabilities in the mysql2 package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free

Security

NO KNOWN SECURITY ISSUES
Show only direct vulnerabilities in latest version
No vulnerabilities found

No vulnerabilities found in the latest version

There are 6 total vulnerabilities, but none affect the latest version (3.20.0)

Package versions

266 VERSIONS IN TOTAL See all versions
versionpublisheddirect vulnerabilities
3.20.015 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.19.2-canary.f4ce16ab15 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.19.2-canary.c06afc2514 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.19.2-canary.97855a6015 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.19.2-canary.90a0677614 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.19.2-canary.7e57db6215 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.19.2-canary.5ac5563c15 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.19.19 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.19.1-canary.91c5229d8 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.19.1-canary.7c2ae0028 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L