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 by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.24% (87th 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 IDSNYK-RUBY-SUP-20114
  • published28 Oct 2013
  • disclosed28 Oct 2013
  • creditUnknown

Introduced: 28 Oct 2013

CVE-2013-4479  (opens in a new tab)
CWE-77  (opens in a new tab)

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 Base Scores

version 3.1