CVE-2007-6209 Path traversal in n/a

Medium 4.6 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks on temporary files in the zsh difflog utility.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2007-6209?

CVE-2007-6209 is a medium-severity path traversal vulnerability in n/a, published on 4 Dec 2007. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Util/difflog.pl in zsh 4.3.4 allows local users to overwrite arbitrary files via a symlink attack on temporary files.

Weakness: CWE-264

Which versions are affected by CVE-2007-6209?

It affects 1 product.

Products include Zsh Zsh.

How do I fix CVE-2007-6209?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2007-6209 being exploited?

There is no known exploitation of CVE-2007-6209 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2007-6209, GHSA-jvq3-qvh3-fg4x.

Is CVE-2007-6209 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free