Zsh Insecure Temporary File Creation Vulnerability

BID:26674

Info

Zsh Insecure Temporary File Creation Vulnerability

Bugtraq ID: 26674
Class: Race Condition Error
CVE: CVE-2007-6209
Remote: No
Local: Yes
Published: Dec 02 2007 12:00AM
Updated: Dec 06 2007 10:02PM
Credit: Elias Pipping was credited by Gentoo for discovering this vulnerability.
Vulnerable: Zsh Zsh 4.3.4
Not Vulnerable:

Discussion

Zsh Insecure Temporary File Creation Vulnerability

Zsh is prone to a security vulnerability because it creates temporary files in an insecure manner.

An attacker with local access could potentially exploit this issue to perform symlink attacks, overwriting arbitrary files in the context of the affected application.

Successfully mounting a symlink attack may allow the attacker to delete or corrupt sensitive files, which may result in a denial of service. Other attacks may also be possible.

This issue affects Zsh 4.3.4; other versions may also be vulnerable.

Exploit / POC

Zsh Insecure Temporary File Creation Vulnerability

An attacker uses readily available commands to exploit the issue.

Solution / Fix

Zsh Insecure Temporary File Creation Vulnerability

Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

References

Zsh Insecure Temporary File Creation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report