pugsh/icywallet

The screen-free, audio-friendly, fully-accessible Bitcoin cold storage solution.
Vulnerabilities 1 via 2 paths
Dependencies 554
Source GitHub
Commit b154c756

Snyk continuously finds and fixes vulnerabilities in your dependencies.

Filter by issue type
  • 1
Filter by issue policy
  • 0
  • 0
low severity

Prototype Pollution

  • Vulnerable module: lodash
  • Introduced through: npm@5.10.0

Detailed paths

  • Introduced through: icywallet@pugsh/icywallet#b154c7569f5b8a58fce1ec1c90a1f01e0d7577c7 npm@5.10.0 cli-table2@0.2.0 lodash@3.10.1
  • Introduced through: icywallet@pugsh/icywallet#b154c7569f5b8a58fce1ec1c90a1f01e0d7577c7 npm@5.10.0 npm-audit-report@1.2.1 cli-table2@0.2.0 lodash@3.10.1

Overview

lodash is a javaScript utility library delivering modularity, performance & extras.

Affected versions of this package are vulnerable to Prototype Pollution. The utilities function allow modification of the Object prototype. If an attacker can control part of the structure passed to this function, they could add or modify an existing property.

PoC by Olivier Arteau (HoLyVieR)

var _= require('lodash');
        var malicious_payload = '{"__proto__":{"oops":"It works !"}}';
        
        var a = {};
        console.log("Before : " + a.oops);
        _.merge({}, JSON.parse(malicious_payload));
        console.log("After : " + a.oops);
        

Remediation

Upgrade lodash to version 4.17.5 or higher.

References