Arbitrary Command Injection Affecting irods/irods package, versions [,4.2.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.99% (77th 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 Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-IRODSIRODS-2367500
  • published26 Jan 2022
  • disclosed5 May 2017
  • creditUnknown

Introduced: 5 May 2017

CVE-2017-8799  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade irods/irods to version 4.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection. Untrusted input execution via igetwild in all iRODS versions before 4.1.11 and 4.2.1 allows other iRODS users (potentially anonymous) to execute remote shell commands via iRODS virtual pathnames. To exploit this vulnerability, a virtual iRODS pathname that includes a semicolon would be retrieved via igetwild. Because igetwild is a Bash script, the part of the pathname following the semicolon would be executed in the user's shell.

References

CVSS Base Scores

version 3.1