VDB
Sign up
MEDIUM5.5

GHSA-f982-mxwc-3mrx

MySQL for Node.js Unsafe Options

Quick fix

GHSA-f982-mxwc-3mrx — mysql: upgrade to the fixed version with the command below.

npm install mysql@2.18.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/mysql
Introduced in: 2.17.1Fixed in: 2.18.0
Fixnpm install mysql@2.18.0

References