CVEs / CVE-2014-6271
CVE-2014-6271: GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability
- Known exploited in the CISA KEV catalog since 28 Jan 2022
- critical 9.8 CVSS 3.1 (NVD)
- EPSS 99.9% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2014-6271
Summary
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute code.
Description
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code 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, aka "ShellShock." NOTE: the original fix for this issue was incorrect; CVE-2014-7169 has been assigned to cover the vulnerability that is still present after the incorrect fix.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | n/a | — |
Exploitation
| In CISA KEV since | 28 Jan 2022 |
|---|---|
| Due date for US federal agencies | 28 Jul 2022 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply updates per vendor instructions. |
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-78 |
References
- CVE-2014-6271 on NVD
- CVE-2014-6271 in the CISA KEV catalog
- CVE-2014-6271 on OSV
- http://advisories.mageia.org/MGASA-2014-0388.html Third Party Advisory
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0101.html Broken Link, Third Party Advisory
- http://jvn.jp/en/jp/JVN55667175/index.html Vendor Advisory
- http://jvndb.jvn.jp/jvndb/JVNDB-2014-000126 Third Party Advisory, VDB Entry, Vendor Advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673 Third Party Advisory
- http://lcamtuf.blogspot.com/2014/09/quick-notes-about-bash-bug-its-impact.html Exploit, Issue Tracking, Third Party Advisory
- http://linux.oracle.com/errata/ELSA-2014-1293.html Third Party Advisory
- http://linux.oracle.com/errata/ELSA-2014-1294.html Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00028.html Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00029.html Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00034.html Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00037.html Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00040.html Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00044.html Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00049.html Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-10/msg00004.html Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00023.html Mailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.html Mailing List, Third Party Advisory
- http://marc.info/?l=bugtraq&m=141216207813411&w=2 Mailing List, Third Party Advisory
- http://marc.info/?l=bugtraq&m=141216668515282&w=2 Mailing List, Third Party Advisory
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.