Arbitrary Command Execution Affecting rgpg package, versions < 0.2.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.08% (79th 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-RGPG-20104
  • published1 Aug 2013
  • disclosed1 Aug 2013
  • creditUnknown

Introduced: 1 Aug 2013

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

Overview

rgpg is a wrapper around "gpg" command for file encryption. Affected versions of this gem are vulnerable to Arbitrary command execution via GpgHelper module (lib/rgpg/gpg_helper.rb). The program fails to properly sanitize user-supplied input before being used in the system() function for execution. This may allow a remote attacker to execute arbitrary commands.

CVSS Base Scores

version 3.1