CVE-2014-7187
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…
Description
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.
Exploitation
EPSS 58.4%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.3% of all scored CVEs. Scores of 26 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2014-7187 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2014-7187RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2014-7187Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:
trivy rootfs --scanners vuln / | grep CVE-2014-7187
trivy image --scanners vuln IMAGE | grep CVE-2014-7187
Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.
References
Advisories
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897 www-01.ibm.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21685749 www-01.ibm.com
- HPSBMU03165 marc.info · vendor advisory
- https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlerts supportcenter.checkpoint.com
- HPSBST03131 marc.info · vendor advisory
- SSRT101819 marc.info · vendor advisory
- HPSBMU03245 marc.info · vendor advisory
- openSUSE-SU-2014:1229 lists.opensuse.org · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686084 www-01.ibm.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21686479 www-01.ibm.com
- 61188 secunia.com · third party advisory
- JVN#55667175 jvn.jp · third party advisory
104 more
- openSUSE-SU-2014:1254 lists.opensuse.org · vendor advisory
- 60433 secunia.com · third party advisory
- HPSBMU03143 marc.info · vendor advisory
- HPSBMU03182 marc.info · vendor advisory
- HPSBST03155 marc.info · vendor advisory
- http://support.novell.com/security/cve/CVE-2014-7187.html support.novell.com
- http://www.oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.html oracle.com
- 61636 secunia.com · third party advisory
- 61816 secunia.com · third party advisory
- openSUSE-SU-2014:1310 lists.opensuse.org · vendor advisory
- 61442 secunia.com · third party advisory
- HPSBMU03246 marc.info · vendor advisory
- 61283 secunia.com · third party advisory
- APPLE-SA-2015-09-30-3 lists.apple.com · vendor advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10085 kc.mcafee.com
- openSUSE-SU-2014:1308 lists.opensuse.org · vendor advisory
- 61654 secunia.com · third party advisory
- http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5096315 www-947.ibm.com
- 62312 secunia.com · third party advisory
- https://support.f5.com/kb/en-us/solutions/public/15000/600/sol15629.html support.f5.com
- HPSBMU03217 marc.info · vendor advisory
- RHSA-2014:1312 rhn.redhat.com · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21685604 www-01.ibm.com
- SSRT101868 marc.info · vendor advisory
- 61703 secunia.com · third party advisory
- USN-2364-1 ubuntu.com · vendor advisory
- 61065 secunia.com · third party advisory
- HPSBST03129 marc.info · vendor advisory
- HPSBMU03144 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686445 www-01.ibm.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21686131 www-01.ibm.com
- JVNDB-2014-000126 jvndb.jvn.jp · third party advisory
- 61641 secunia.com · third party advisory
- SUSE-SU-2014:1247 lists.opensuse.org · vendor advisory
- https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10648 kb.juniper.net
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004898 www-01.ibm.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21685914 www-01.ibm.com
- MDVSA-2015:164 mandriva.com · vendor advisory
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04497075 support.hpe.com
- https://support.apple.com/HT205267 support.apple.com
- 60024 secunia.com · third party advisory
- 61622 secunia.com · third party advisory
- 20140926 GNU Bash Environment Variable Command Injection Vulnerability tools.cisco.com · vendor advisory
- 62343 secunia.com · third party advisory
- 61565 secunia.com · third party advisory
- https://www.suse.com/support/shellshock/ suse.com
- http://support.apple.com/HT204244 support.apple.com
- HPSBST03157 marc.info · vendor advisory
- 61313 secunia.com · third party advisory
- SSRT101830 marc.info · vendor advisory
- 61873 secunia.com · third party advisory
- 61485 secunia.com · third party advisory
- openSUSE-SU-2014:1242 lists.opensuse.org · vendor advisory
- 61618 secunia.com · third party advisory
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04518183 support.hpe.com
- HPSBST03154 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021272 www-01.ibm.com
- HPSBGN03142 marc.info · vendor advisory
- 61312 secunia.com · third party advisory
- 60193 secunia.com · third party advisory
- http://www.vmware.com/security/advisories/VMSA-2014-0010.html vmware.com
- 61479 secunia.com · third party advisory
- 60063 secunia.com · third party advisory
- 60034 secunia.com · third party advisory
- 59907 secunia.com · third party advisory
- 58200 secunia.com · third party advisory
- HPSBST03181 marc.info · vendor advisory
- 61643 secunia.com · third party advisory
- http://www.novell.com/support/kb/doc.php?id=7015721 novell.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21687079 www-01.ibm.com
- 61503 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686246 www-01.ibm.com
- RHSA-2014:1354 rhn.redhat.com · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004915 www-01.ibm.com
- http://www.qnap.com/i/en/support/con_show.php?cid=61 qnap.com
- HPSBST03148 marc.info · vendor advisory
- 61552 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021279 www-01.ibm.com
- https://support.citrix.com/article/CTX200223 support.citrix.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21686447 www-01.ibm.com
- HPSBGN03138 marc.info · vendor advisory
- 61855 secunia.com · third party advisory
- 60044 secunia.com · third party advisory
- 61291 secunia.com · third party advisory
- HPSBHF03125 marc.info · vendor advisory
- 61287 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021361 www-01.ibm.com
- APPLE-SA-2015-01-27-4 lists.apple.com · vendor advisory
- HPSBGN03141 marc.info · vendor advisory
- RHSA-2014:1311 rhn.redhat.com · vendor advisory
- 61128 secunia.com · third party advisory
- https://support.citrix.com/article/CTX200217 support.citrix.com
- 60055 secunia.com · third party advisory
- 61550 secunia.com · third party advisory
- 61633 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686494 www-01.ibm.com
- https://kb.bluecoat.com/index?page=content&id=SA82 kb.bluecoat.com
- SUSE-SU-2014:1259 lists.opensuse.org · vendor advisory
- 61328 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21685733 www-01.ibm.com
- 61129 secunia.com · third party advisory
- 61603 secunia.com · third party advisory
- 61857 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004879 www-01.ibm.com
Other references
- http://packetstormsecurity.com/files/128517/VMware-Security-Advisory-2014-0010.html packetstormsecurity.com
- 20141001 NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities securityfocus.com · mailing list
- [oss-security] 20140925 Fwd: Non-upstream patches for bash openwall.com · mailing list
- 20141001 FW: NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities seclists.org · mailing list
- http://packetstormsecurity.com/files/128567/CA-Technologies-GNU-Bash-Shellshock.html packetstormsecurity.com
- [oss-security] 20140928 Re: CVE-2014-6271: remote code execution through bash openwall.com · mailing list
- [oss-security] 20140926 Re: Fwd: Non-upstream patches for bash openwall.com · mailing list
Guides
- Shellshock (CVE-2014-6271 and follow-ups): bash runs code from environment variables How a function definition in an environment variable let attackers run commands through CGI scripts, SSH and DHCP, the six CVEs, and how to test bash today.
Source: the record CVE-2014-7187 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.