linux-cmdline@1.0.0 vulnerabilities

Parser for the Linux kernel command line arguments

  • latest version

    1.0.1

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    4 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the linux-cmdline 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
    Prototype Pollution

    linux-cmdline is a Parser for the Linux kernel command line arguments

    Affected versions of this package are vulnerable to Prototype Pollution via the constructor.

    POC:

    const linuxCmdline = require('linux-cmdline');
    linuxCmdline('__proto__.polluted=true');
    console.log(polluted);
    

    How to fix Prototype Pollution?

    Upgrade linux-cmdline to version 1.0.1 or higher.

    <1.0.1