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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bash (PTS)buster5.0-4fixed
bullseye5.1-2+deb11u1fixed
bookworm5.2.15-2fixed
sid, trixie5.2.21-2fixed

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