ini-parser@0.0.2 vulnerabilities

A better .ini files parser

Direct Vulnerabilities

Known vulnerabilities in the ini-parser 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
  • M
Prototype Pollution

ini-parser is a package to parse .ini files.

Affected versions of this package are vulnerable to Prototype Pollution. The library could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.

PoC

var a = require("ini-parser");
a.parse('[__proto__]\ntoString=JHU');
console.log({}.toString);

How to fix Prototype Pollution?

There is no fixed version for ini-parser.

*