Arbitrary Command Execution Affecting sup Open this link in a new tab package, versions < 0.14.1.1, >= 0.13.3 < 0.13.2.1


0.0
medium
  • Attack Complexity

    Low

  • User Interaction

    Required

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

    SNYK-RUBY-SUP-20115

  • published

    28 Oct 2013

  • disclosed

    28 Oct 2013

  • credit

    Unknown

Overview

sup is a console-based email client for people with a lot of email. Affected versions of this gem do not sanitize email attachment content when using quotes (',") around filename or content_type which is already escaped using Ruby Shellwords.escape - this means that the string (content_type, filename) is intended to be used without any further quotes. This may allow a context-dependent attacker to execute arbitrary commands.