VDB
GHSA-pmh2-wpjm-fj45
GHSA-pmh2-wpjm-fj45
PUBLISHED
CVSS 8.199999809265137 HIGH
mysql2 vulnerable to Prototype Pollution
Record from GitHub Advisory Database · Published May 30, 2024
mysql2 is fixed in 3.9.8 (npm)
mysql2 vulnerable to Prototype Pollution
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mysql2 | npm | 3.9.8 |
| sqlpad | Wolfi | 7.4.3-r0 |
| sqlpad | Chainguard | 7.4.3-r0 |
Risk scores
CVSS 3.1
8.199999809265137
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Affected products
| Vendor | Product | Versions |
|---|---|---|
| wolfi | sqlpad | 0 |
| chainguard | sqlpad | 0 |
| npm | mysql2 | 0 |
Timeline
- May 30, 2024 CVE Published
- Apr 30, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-pmh2-wpjm-fj45
vulnetix vdb fixes GHSA-pmh2-wpjm-fj45
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-pmh2-wpjm-fj45/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-21512 advisory
- https://github.com/sidorares/node-mysql2/commit/efe3db527a2c94a63c2d14045baba8dfefe922bc url
- https://github.com/sidorares/node-mysql2 package
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-7176010 url
- https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6861580 url
- https://github.com/sidorares/node-mysql2/pull/2702 url
- https://gist.github.com/domdomi3/e9f0f9b9b1ed6bfbbc0bea87c5ca1e4a url