Note: This is an archival copy of Security Sun Alert 231524 as previously published on http://sunsolve.sun.com.|
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1018985.1.
Date of Workaround Release
Date of Resolved Release
Security Vulnerability in Solaris 10 Perl 5.8
1. ImpactAn unprivileged local user may be able to cause a Perl application to crash, or possibly execute arbitrary code with the privileges of the Perl application due to a buffer overflow in the regular expression engine.
The ability to crash a Perl application is a type of Denial of Service (DoS). If the Perl application accepts input from remote users, the impact can be extended to include remote unprivileged users.
This issue is referenced in the following document:
CVE-2007-5116 at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5116
2. Contributing FactorsThis issue can occur in the following releases:
This issue only affects Perl versions 5.8.0 and later. Solaris 10 ships with Perl 5.6.1 in "/usr/perl5/5.6.1/" and Perl 5.8.4 in "/usr/perl5/5.8.4/". The patches for this issue only apply to Perl 5.8.4.
3. SymptomsThere are no reliable symptoms that would indicate the described issue has been exploited to execute arbitrary commands with the privileges of the affected Perl application on a host. The symptoms of the Denial of Service would be the Perl application no longer running.
4. WorkaroundTo work around the described issue, check for and remove utf-8 characters from the user supplied input. However, exact steps would differ for each perl use case.
Or, use perl 5.6.1 instead, available on Solaris 10. Sites can modify the path to Perl to use Perl 5.6.1 rather than 5.8.4 in their scripts by changing the path to the Perl interpreter from /bin/perl or /usr/bin/perl or /usr/perl5/5.8.4/bin/perl to /usr/perl5/5.6.1/bin/perl.
Additional information can be found at http://docs.sun.com/app/docs/doc/820-1259/fhkna?a=view
5. ResolutionThis issue is addressed in the following releases:
For more information on Security Sun Alerts, see 1009886.1.
Copyright 2000-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.
28-Apr-2008: Updated Resolution section to add link for Security Technical Instruction doc
08-Aug-2008: Updated Contributing Factors and Resolution sections; now Resolved
Solaris 10 Operating System
This solution has no attachment