Bug 1396383 (CVE-2016-9401)

Summary: CVE-2016-9401 bash: popd controlled free
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: admiller, carnil, dominik.mierzejewski, kdudka, mkyral, sardella, security-response-team, slawomir, svashisht
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A denial of service flaw was found in the way bash handled popd commands. A poorly written shell script could cause bash to crash resulting in a local denial of service limited to a specific bash session.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:02:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1396387, 1400793, 1429838    
Bug Blocks: 1386080, 1396388    

Description Andrej Nemec 2016-11-18 08:52:56 UTC
A vulnerability was found in popd. It can be tricked to free a user supplied address in the following way:

$ popd +-111111

This could be used to bypass restricted shells (rsh) on some environments to cause use-after-free.

References:

http://seclists.org/oss-sec/2016/q4/445

Comment 1 Andrej Nemec 2016-11-18 08:55:33 UTC
Created bash tracking bugs for this issue:

Affects: fedora-all [bug 1396387]

Comment 19 errata-xmlrpc 2017-03-21 11:14:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2017:0725 https://rhn.redhat.com/errata/RHSA-2017-0725.html

Comment 20 errata-xmlrpc 2017-08-01 20:33:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:1931 https://access.redhat.com/errata/RHSA-2017:1931