influx@3.0.0 vulnerabilities

InfluxDB Client

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
SQL Injection

influx is an InfluxDB Client for Node.js and Browsers.

Affected versions of this package are vulnerable to SQL Injection due to improperly escaping value input.

###PoC

const influx = require('influx')
const exp = new influx.Expression();
exp.tag('symbol').equals.value("GAZP()\\' or 1=1 --").toString()

How to fix SQL Injection?

Upgrade influx to version 5.5.3 or higher.

<5.5.3