CVE-2016-0634

NameCVE-2016-0634
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bash (PTS)stretch4.4-5fixed
buster5.0-4fixed
bullseye5.1-2fixed
bookworm, sid5.1-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bashsourcejessie4.3-11+deb8u1
bashsource(unstable)4.4-1unimportant

Notes

https://www.openwall.com/lists/oss-security/2016/09/16/8
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1507025
Fixed bin Bash upstream bash-4.4
This doesn't cross any reasonable security boundaries, an attacker with the
ability to modify the hostname in an arbitrary manner is in the position to
exploit various other system components anyway
Fixed by (4.3): https://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-047

Search for package or bug name: Reporting problems