Bug 1549836 (CVE-2014-10072)

Summary: CVE-2014-10072 zsh: buffer overflow when scanning very long directory paths for symbolic links
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dmaphy, james.antill, j, kdudka, rcosta, svashisht, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: zsh 5.0.6 Doc Type: If docs needed, set a value
Doc Text:
A buffer overflow flaw was found in the zsh shell symbolic link resolver. A local, unprivileged user can create a specially crafted directory path which leads to a buffer overflow in the context of the user trying to do symbolic link resolution in the aforementioned path. An attacker could exploit this vulnerability to cause a denial of service condition on the target.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-30 00:36:51 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: 1549837, 1549838, 1564300, 1564301    
Bug Blocks: 1549839    

Description Laura Pardo 2018-02-27 20:58:07 UTC
A flaw was found in zsh. There is a buffer overflow when scanning very long directory paths for symbolic links.


References:
https://sourceforge.net/p/zsh/code/ci/3e06aeabd8a9e8384ebaa8b08996cd1f64737210

Comment 1 Laura Pardo 2018-02-27 20:58:54 UTC
Created zsh tracking bugs for this issue:

Affects: fedora-all [bug 1549838]

Comment 3 Jason Tibbitts 2018-02-27 21:20:14 UTC
This appears to be another instance of a bug which was fixed in zsh long ago.  All existing Fedora releases have zsh versions newer than that, and I've verified manually that they have the fixed code.

I'm afraid I don't understand what's happening here.  Are these tickets an assertion that something in Fedora's zsh is still vulnerable?  Or are the package maintainers just supposed to check?

Comment 5 Richard Maciel Costa 2018-04-05 23:27:06 UTC
In reply to comment 3:
> This appears to be another instance of a bug which was fixed in zsh long
> ago.  All existing Fedora releases have zsh versions newer than that, and
> I've verified manually that they have the fixed code.
> 
> I'm afraid I don't understand what's happening here.  Are these tickets an
> assertion that something in Fedora's zsh is still vulnerable?  Or are the
> package maintainers just supposed to check?

This is to properly track security vulnerabilities which were fixed as if they were normal bugs. May not affect the latest version of zsh (or the Fedora one), but may affect other distros which use older versions.

Comment 10 errata-xmlrpc 2018-06-19 04:56:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2018:1932 https://access.redhat.com/errata/RHSA-2018:1932

Comment 11 errata-xmlrpc 2018-10-30 07:29:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3073 https://access.redhat.com/errata/RHSA-2018:3073