@oclif/core@0.5.41

Vulnerabilities

1 via 2 paths

Dependencies

96

Source

npm

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

high severity

Command Injection

  • Vulnerable module: lodash.template
  • Introduced through: lodash.template@4.5.0 and cli-ux@5.6.5

Detailed paths

  • Introduced through: @oclif/core@0.5.41 lodash.template@4.5.0
  • Introduced through: @oclif/core@0.5.41 cli-ux@5.6.5 @oclif/command@1.8.7 @oclif/plugin-help@3.3.0 @oclif/core@0.5.41 lodash.template@4.5.0

Overview

lodash.template is a The Lodash method _.template exported as a Node.js module.

Affected versions of this package are vulnerable to Command Injection via template.

PoC

var _ = require('lodash');

_.template('', { variable: '){console.log(process.env)}; with(obj' })()

Remediation

There is no fixed version for lodash.template.

References