Improper Handling of Syntactically Invalid Structure Affecting bash-doc package, versions <0:4.2.45-5.el7_0.4


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
90.44% (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-RHEL7-BASHDOC-7949139
  • published14 Sept 2024
  • disclosed24 Sept 2014

Introduced: 24 Sep 2014

CVE-2014-7169  (opens in a new tab)
CWE-228  (opens in a new tab)

How to fix?

Upgrade RHEL:7 bash-doc to version 0:4.2.45-5.el7_0.4 or higher.
This issue was patched in RHSA-2014:1306.

NVD Description

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

GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of environment variables, which allows remote attackers to write to files or possibly have unknown other impact 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.

References

CVSS Scores

version 3.1