{"id":"MGASA-2016-0393","summary":"Updated bash packages fix security vulnerability","details":"A vulnerability was found in a way bash expands the $HOSTNAME. Injecting\nthe hostname with malicious code would cause it to run each time bash\nexpanded \\h in the prompt string (CVE-2016-0634).\n\nShells running as root inherited PS4 from the environment, allowing PS4\nexpansion performing command substitution. Local attacker could gain\narbitrary code execution via bogus setuid binaries using system()/popen()\nby specially crafting SHELLOPTS+PS4 environment variables (CVE-2016-7543)\n","modified":"2026-02-02T08:32:43.274571Z","published":"2016-11-21T22:18:01Z","related":["CVE-2016-0634","CVE-2016-7543"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2016-0393.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=19462"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/5GRFMCTX4O7RTLZX5CI45KC7GGM6XIIY/"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/OU3C756YPHDAAPFX76UGZBAQQQ5UMHS5/"}],"affected":[{"package":{"name":"bash","ecosystem":"Mageia:5","purl":"pkg:rpm/mageia/bash?arch=source&distro=mageia-5"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3-48.2.mga5"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2016-0393.json"}}],"schema_version":"1.7.3","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}