ID CVE-2014-7187
Summary Off-by-one error in the read_token_word function in parse.y in GNU Bash through 4.3 bash43-026 allows remote attackers to cause a denial of service (out-of-bounds array access and application crash) or possibly have unspecified other impact via deeply nested for loops, aka the "word_lineno" issue.
Vulnerable Configurations
  • cpe:2.3:a:gnu:bash:1.14.0:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:1.14.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:1.14.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:1.14.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:1.14.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:1.14.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:1.14.6:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:1.14.7:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:2.01:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:2.01.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:2.02:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:2.02.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:2.03:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:2.04:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:2.05:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:2.05:a:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:2.05:b:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:3.0.16:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:3.2.48:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:4.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:4.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:bash:4.3:*:*:*:*:*:*:*
Base: 10.0 (as of 09-10-2018 - 19:52)
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
cvss-vector via4 AV:N/AC:L/Au:N/C:C/I:C/A:C
redhat via4
  • bugzilla
    id 1146319
    title CVE-2014-7169 bash: code execution via specially-crafted environment (Incomplete fix for CVE-2014-6271)
    • AND
      • OR
        • comment Red Hat Enterprise Linux 6 Client is installed
          oval oval:com.redhat.rhba:tst:20111656001
        • comment Red Hat Enterprise Linux 6 Server is installed
          oval oval:com.redhat.rhba:tst:20111656002
        • comment Red Hat Enterprise Linux 6 Workstation is installed
          oval oval:com.redhat.rhba:tst:20111656003
        • comment Red Hat Enterprise Linux 6 ComputeNode is installed
          oval oval:com.redhat.rhba:tst:20111656004
      • OR
        • AND
          • comment bash is earlier than 0:4.1.2-15.el6_5.2
            oval oval:com.redhat.rhsa:tst:20141306005
          • comment bash is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20141293006
        • AND
          • comment bash-doc is earlier than 0:4.1.2-15.el6_5.2
            oval oval:com.redhat.rhsa:tst:20141306007
          • comment bash-doc is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20141293008
    • AND
      • comment Red Hat Enterprise Linux 5 is installed
        oval oval:com.redhat.rhba:tst:20070331001
      • comment bash is earlier than 0:3.2-33.el5_11.4
        oval oval:com.redhat.rhsa:tst:20141306010
      • comment bash is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20111073003
    • AND
      • OR
        • comment Red Hat Enterprise Linux 7 Client is installed
          oval oval:com.redhat.rhba:tst:20150364001
        • comment Red Hat Enterprise Linux 7 Server is installed
          oval oval:com.redhat.rhba:tst:20150364002
        • comment Red Hat Enterprise Linux 7 Workstation is installed
          oval oval:com.redhat.rhba:tst:20150364003
        • comment Red Hat Enterprise Linux 7 ComputeNode is installed
          oval oval:com.redhat.rhba:tst:20150364004
      • OR
        • AND
          • comment bash is earlier than 0:4.2.45-5.el7_0.4
            oval oval:com.redhat.rhsa:tst:20141306016
          • comment bash is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20141293006
        • AND
          • comment bash-doc is earlier than 0:4.2.45-5.el7_0.4
            oval oval:com.redhat.rhsa:tst:20141306017
          • comment bash-doc is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20141293008
    id RHSA-2014:1306
    released 2014-09-26
    severity Important
    title RHSA-2014:1306: bash security update (Important)
  • rhsa
    id RHSA-2014:1311
  • rhsa
    id RHSA-2014:1312
  • rhsa
    id RHSA-2014:1354
  • bash-0:4.1.2-15.el6_5.2
  • bash-doc-0:4.1.2-15.el6_5.2
  • bash-0:3.2-33.el5_11.4
  • bash-0:4.2.45-5.el7_0.4
  • bash-doc-0:4.2.45-5.el7_0.4
refmap via4
  • APPLE-SA-2015-01-27-4
  • APPLE-SA-2015-09-30-3
bugtraq 20141001 NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities
cisco 20140926 GNU Bash Environment Variable Command Injection Vulnerability
fulldisc 20141001 FW: NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities
  • HPSBGN03138
  • HPSBGN03141
  • HPSBGN03142
  • HPSBGN03233
  • HPSBHF03125
  • HPSBMU03143
  • HPSBMU03144
  • HPSBMU03165
  • HPSBMU03182
  • HPSBMU03217
  • HPSBMU03220
  • HPSBMU03236
  • HPSBMU03245
  • HPSBMU03246
  • HPSBST03129
  • HPSBST03131
  • HPSBST03148
  • HPSBST03154
  • HPSBST03155
  • HPSBST03157
  • HPSBST03181
  • SSRT101739
  • SSRT101742
  • SSRT101819
  • SSRT101827
  • SSRT101830
  • SSRT101868
jvn JVN#55667175
jvndb JVNDB-2014-000126
mandriva MDVSA-2015:164
  • [oss-security] 20140925 Fwd: Non-upstream patches for bash
  • [oss-security] 20140926 Re: Fwd: Non-upstream patches for bash
  • [oss-security] 20140928 Re: CVE-2014-6271: remote code execution through bash
  • 58200
  • 59907
  • 60024
  • 60034
  • 60044
  • 60055
  • 60063
  • 60193
  • 60433
  • 61065
  • 61128
  • 61129
  • 61188
  • 61283
  • 61287
  • 61291
  • 61312
  • 61313
  • 61328
  • 61442
  • 61479
  • 61485
  • 61503
  • 61550
  • 61552
  • 61565
  • 61603
  • 61618
  • 61622
  • 61633
  • 61636
  • 61641
  • 61643
  • 61654
  • 61703
  • 61816
  • 61855
  • 61857
  • 61873
  • 62312
  • 62343
  • SUSE-SU-2014:1247
  • SUSE-SU-2014:1259
  • openSUSE-SU-2014:1229
  • openSUSE-SU-2014:1242
  • openSUSE-SU-2014:1254
  • openSUSE-SU-2014:1308
  • openSUSE-SU-2014:1310
ubuntu USN-2364-1
Last major update 09-10-2018 - 19:52
Published 28-09-2014 - 19:55
Back to Top