influx@0.4.0 vulnerabilities

InfluxDB Client

  • latest version

    5.9.3

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    2 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable 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