GitHub Advisory Database
GHSA-f982-mxwc-3mrx
MySQL for Node.js Unsafe Options
Details
An issue was discovered in the mysql (aka mysqljs) module 2.17.1 for Node.js. The LOAD DATA LOCAL INFILE option is open by default.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | mysql | From 2.17.1 before 2.18.0 (fixed in 2.18.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-14939
- https://github.com/mysqljs/mysql/issues/2471
- https://github.com/mysqljs/mysql/commit/337e87ae5fcea3667864197c65dc758517fcde06
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934712>
- https://github.com/mysqljs/mysql
- https://web.archive.org/web/20190812004403/https://github.com/mysqljs/mysql/issues/2257