Description
The expansion of '\h' in the prompt string in bash 4.3 allows remote authenticated users to execute arbitrary code via shell metacharacters placed in 'hostname' of a machine.
Metrics
CVSS 3.0 7.5/10
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://rhn.redhat.com/errata/RHSA-2017-0725.html
- http://www.openwall.com/lists/oss-security/2016/09/16/12Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/16/8Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/18/11Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/19/7Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/20/1Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/27/9Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/29/27Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/10/07/6Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/10/10/3Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/10/10/4Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/92999Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1931
- https://bugzilla.redhat.com/show_bug.cgi?id=1377613Issue Tracking, Patch, Third Party Advisory, VDB Entry
- https://security.gentoo.org/glsa/201612-39Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2017-0725.html
- http://www.openwall.com/lists/oss-security/2016/09/16/12Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/16/8Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/18/11Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/19/7Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/20/1Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/27/9Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/09/29/27Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/10/07/6Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/10/10/3Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/10/10/4Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/92999Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1931
- https://bugzilla.redhat.com/show_bug.cgi?id=1377613Issue Tracking, Patch, Third Party Advisory, VDB Entry
- https://security.gentoo.org/glsa/201612-39Third Party Advisory
Timeline
- Published
- Aug 28, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified