Description
Keys of objects in mysql node module v2.0.0-alpha7 and earlier are not escaped with `mysql.escape()` which could lead to SQL Injection.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HackerOne | mysql node module | <=v2.0.0-alpha7 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-mysql | 2.0.0~alpha8-1 | — |
| Debian 13 | node-mysql | 2.0.0~alpha8-1 | — |
| Debian 12 | node-mysql | 2.0.0~alpha8-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | mysql | < 2.0.0-alpha8 | 2.0.0-alpha8 | GHSA-fvq6-55gv-jx9f |