CVE-1999-1386 Path traversal in n/a

Medium 5.5 Published Updated

Local attackers can overwrite arbitrary files by exploiting symbolic link handling in Perl's -e option temporary files.

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

What is CVE-1999-1386?

CVE-1999-1386 is a medium-severity path traversal vulnerability in n/a, published on 9 Mar 2002. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Perl 5.004_04 and earlier follows symbolic links when running with the -e option, which allows local users to overwrite arbitrary files via a symlink attack on the /tmp/perl-eaXXXXX file.

Weakness: CWE-59

Which versions are affected by CVE-1999-1386?

It affects 1 product.

Products include Perl Perl.

How do I fix CVE-1999-1386?

No fix has been published for CVE-1999-1386 yet. Limit exposure of the affected software until one is available.

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

Is CVE-1999-1386 being exploited?

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

Sources

Also known as GHSA-rwp9-w3rx-vf92.

Is CVE-1999-1386 in your software?

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

Check your SBOMs for free