Potential Command Injection Affecting libnotify Open this link in a new tab package, versions <= 1.0.3


0.0
high
  • Attack Complexity

    Low

  • User Interaction

    Required

  • Confidentiality

    High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    npm:libnotify:20130515

  • published

    15 May 2013

  • disclosed

    15 May 2013

  • credit

    Adam Baldwin

Overview

Untrusted input passed in the call to libnotify.notify could result in execution of shell commands. Callers may be unaware of this.

Source: Node Security Project

Details

Example:

var libnotify = require('libnotify')
libnotify.notify('UNTRUSTED INPUT', { title: \"\" }, function () {
    console.log(arguments);
})

References

Special thanks to Neal Poole for submitting the pull request to fix this issue.