OS Command Injection Affecting bash package, versions <0:4.2.45-5.el7_0.4.0.1


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

Exploit Maturity
Attacked
EPSS
99.68% (100th 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-ORACLE7-BASH-2489446
  • published10 Apr 2022
  • disclosed30 Sept 2014

Introduced: 30 Sep 2014

CVE-2014-6278  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Oracle:7 bash to version 0:4.2.45-5.el7_0.4.0.1 or higher.
This issue was patched in ELSA-2014-3092.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bash package and not the bash package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, which allows remote attackers to execute arbitrary commands via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271, CVE-2014-7169, and CVE-2014-6277.

References

CVSS Base Scores

version 3.1