Skip to content
OpenAdvisories
Unscored CVE-2016-0634 EUVD-2016-0669GHSA-h2ww-3j54-pccx

The expansion of '\h' in the prompt string in bash 4.3 allows remote authenticated users to execute arbitrary code via shell metacharacters…

Published Aug 28, 2017 · Updated Oct 4, 2024 · Assigned by oracle

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bash 4.4-1 —
Debian 13 bash 4.4-1 —
Debian 12 bash 4.4-1 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS bash 4.3-14ubuntu1.2 USN-3294-1
Ubuntu 14.04 LTS bash 4.3-7ubuntu1.7 USN-3294-1
ReleasePackageFixed inAdvisory
RHEL 7 bash +1 4.2.46-28.el7 RHSA-2017:1931
RHEL 6 bash +1 4.1.2-48.el6 RHSA-2017:0725
ReleasePackageFixed inAdvisory
SLES 12 SP3 bash 4.3-83.10.1 SUSE-SU-2018:1398-1
SLES 12 SP2 bash 4.3-83.10.1 SUSE-SU-2018:1398-2, SUSE-SU-2018:1398-1
SLES 12 SP1 bash 4.2-82.1 SUSE-SU-2016:2872-1
SLES 11 SP4 bash 3.2-147.29.1 SUSE-SU-2017:0302-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 bash 4.3-83.10.1 SUSE-SU-2018:1398-1
SLES for SAP 12 SP2 bash 4.3-83.10.1 SUSE-SU-2018:1398-1
SLES for SAP 12 SP1 bash 4.2-82.1 SUSE-SU-2016:2872-1
SLES for SAP 11 SP4 bash 3.2-147.29.1 SUSE-SU-2017:0302-1
SUSE OpenStack Cloud 7 bash 4.3-83.10.1 SUSE-SU-2018:1398-1
SUSE Enterprise Storage 4 bash 4.3-83.10.1 SUSE-SU-2018:1398-1
ReleasePackageFixed inAdvisory
Alpine v3.24 bash 4.4.12-r1 —
Alpine v3.23 bash 4.4.12-r1 —
Alpine v3.22 bash 4.4.12-r1 —
Alpine v3.21 bash 4.4.12-r1 —
Alpine v3.20 bash 4.4.12-r1 —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 bash 4.4.12-r1 —
Alpine v3.18 bash 4.4.12-r1 —
Alpine v3.17 bash 4.4.12-r1 —
Alpine v3.16 bash 4.4.12-r1 —
Alpine v3.15 bash 4.4.12-r1 —
Alpine v3.14 bash 4.4.12-r1 —
Alpine v3.13 bash 4.4.12-r1 —
Alpine v3.12 bash 4.4.12-r1 —
Alpine v3.11 bash 4.4.12-r1 —
Alpine v3.10 bash 4.4.12-r1 —
Alpine v3.9 bash 4.4.12-r1 —
Alpine v3.8 bash 4.4.12-r1 —
Alpine v3.7 bash 4.4.12-r1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 bash +1 4.2.46-28.el7 ELSA-2017-1931

Advisories 8

References