Arbitrary Command Execution Affecting sup package, versions < 0.14.1.1, >= 0.13.3 < 0.13.2.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    1.78% (89th percentile)

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.

CVSS Scores

version 3.1
Expand this section

Snyk

6.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

6.3 medium