CVE-1999-1386: Medium severity larry wall perl vulnerability

Published Dec 31, 1999
·
Updated

Perl 5.00404 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.

Affected Software

2 affected components
Larry Wall Perl<=5.4.4
Perl Perl<=5.004_04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Do not run Perl with the -e command-line option, as Perl 5.004_04 and earlier follows symbolic links when run with -e and can be abused to overwrite arbitrary files via /tmp/perl-eaXXXXX.

    Perl -e option (command-line) = avoid use
  2. Compensating control

    Prevent unprivileged users from creating or controlling symlinks in /tmp. Restrict write access to /tmp (or otherwise isolate writable temp directories) to mitigate symlink attacks against /tmp/perl-eaXXXXX.

  3. Operational

    Inspect /tmp for files named perl-ea* (e.g., /tmp/perl-eaXXXXX), remove unexpected symlinks or files, and verify/restore any files that may have been overwritten by the attack.

Event History

Dec 31, 1999
CVE Published
05:00 AM
Data Sourced
via NVD·05:00 AM
DescriptionSeverityWeaknessAffected Software
Mar 9, 2002
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-1999-1386?

CVE-1999-1386 is classified as a medium severity vulnerability due to its potential for local privilege escalation.

2

How do I fix CVE-1999-1386?

To fix CVE-1999-1386, upgrade to Perl version 5.004_05 or later, which addresses the symbolic link following issue.

3

Who is affected by CVE-1999-1386?

Users running Perl versions 5.004_04 and earlier on systems that allow local users to create symbolic links are affected by CVE-1999-1386.

4

What types of attacks can CVE-1999-1386 enable?

CVE-1999-1386 can enable local users to perform symlink attacks, potentially allowing them to overwrite arbitrary files.

5

Is CVE-1999-1386 still relevant today?

While CVE-1999-1386 refers to an older vulnerability, it remains relevant for legacy systems still running affected versions of Perl.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203