{"schemaVersion":3,"id":"CVE-2016-0634","aliases":["ALPINE-CVE-2016-0634","UBUNTU-CVE-2016-0634","DEBIAN-CVE-2016-0634"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-08-28T15:00:00.000Z","modified":"2024-10-04T17:00:57.944Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6,"severity":"medium","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true}]},"epss":{"probability":0.06019,"percentile":0.9326,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.06019},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05615,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06019,"percentile":0.9326}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05615,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06019,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06019,"percentile":0.9326}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"alpine","product":"bash","name":"bash","label":"bash","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/bash","purlType":"apk","versions":[{"text":"< 4.4.12-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.4.12-r1","eol":null,"hubHref":null},{"vendor":"debian","product":"bash","name":"bash","label":"bash","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/bash","purlType":"deb","versions":[{"text":"< 4.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"bash","name":"bash","label":"bash","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bash","purlType":"deb","versions":[{"text":"< 4.3-7ubuntu1.7","noFixRecorded":false,"fixedIn":null},{"text":"< 4.3-14ubuntu1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.3-7ubuntu1.7 | < 4.3-14ubuntu1.2","eol":null,"hubHref":null},{"vendor":"gnu","product":"bash","name":"bash","label":"bash","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.3","eol":null,"hubHref":"/vendor/gnu/bash"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.openwall.com/lists/oss-security/2016/09/27/9","label":"www.openwall.com/lists/oss-security/2016/09/27/9","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/16/8","label":"www.openwall.com/lists/oss-security/2016/09/16/8","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch","Third Party Advisory","REPORT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0725.html","label":"rhn.redhat.com/errata/RHSA-2017-0725.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/29/27","label":"www.openwall.com/lists/oss-security/2016/09/29/27","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/20/1","label":"www.openwall.com/lists/oss-security/2016/09/20/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/92999","label":"www.securityfocus.com/bid/92999","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1931","label":"access.redhat.com/errata/RHSA-2017:1931","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/07/6","label":"www.openwall.com/lists/oss-security/2016/10/07/6","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/18/11","label":"www.openwall.com/lists/oss-security/2016/09/18/11","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/19/7","label":"www.openwall.com/lists/oss-security/2016/09/19/7","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/10/4","label":"www.openwall.com/lists/oss-security/2016/10/10/4","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/16/12","label":"www.openwall.com/lists/oss-security/2016/09/16/12","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201612-39","label":"security.gentoo.org/glsa/201612-39","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1377613","label":"bugzilla.redhat.com/show_bug.cgi?id=1377613","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory","VDB Entry"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/10/3","label":"www.openwall.com/lists/oss-security/2016/10/10/3","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2016-0634","label":"security.alpinelinux.org/vuln/CVE-2016-0634","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-0634","label":"ubuntu.com/security/CVE-2016-0634","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3294-1","label":"ubuntu.com/security/notices/USN-3294-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-0634","label":"www.cve.org/CVERecord?id=CVE-2016-0634","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-0634","label":"security-tracker.debian.org/tracker/CVE-2016-0634","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2016-0393","RHSA-2017:0725","RHSA-2017:1931","SUSE-SU-2016:2872-1","SUSE-SU-2017:0302-1","SUSE-SU-2018:1398-1","SUSE-SU-2018:1398-2","USN-3294-1"],"duplicates":[],"related":["SUSE-SU-2016:2872-1","SUSE-SU-2017:0302-1","SUSE-SU-2018:1398-1","SUSE-SU-2018:1398-2","USN-3294-1"]},"timeline":[{"kind":"published","date":"2017-08-28T15:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-04T17:00:57.944Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T09:58:23.008Z","stale":false,"partial":false}}