Advisory Published
Updated

REDHAT-BUG-743010

First published: Mon Oct 03 2011(Updated: )

A flaw was reported [1] in perl Digest module's "Digest-&gt;new()" function, which did not properly sanitize input before using it in an eval() call, which could possibly be exploited to inject and execute arbitrary perl code. The flaw is fixed in version 1.17 [2] and affects at least as far back as perl 5.8.5. The following patch will correct the flaw (selectively taken from upstream's 1.16-&gt;1.17 differences): --- Digest.pm.org 2011-10-03 09:10:29.019681252 -0600 +++ Digest.pm 2011-10-03 09:11:18.630250656 -0600 @@ -35,7 +35,9 @@ sub new ($class, @args) = @$class if ref($class); no strict 'refs'; unless (exists ${"$class\::"}{"VERSION"}) { - eval "require $class"; + my $pm_file = $class . ".pm"; + $pm_file =~ s{::}{/}g; + eval { require $pm_file }; if ($@) { $err ||= $@; next; [1] <a href="https://secunia.com/advisories/46279/">https://secunia.com/advisories/46279/</a> [2] <a href="http://cpansearch.perl.org/src/GAAS/Digest-1.17/Changes">http://cpansearch.perl.org/src/GAAS/Digest-1.17/Changes</a>

Affected SoftwareAffected VersionHow to fix
Perl Digest SHA>=5.8.5<1.17

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-743010?

    The severity of REDHAT-BUG-743010 is critical due to the potential for executing arbitrary Perl code.

  • How do I fix REDHAT-BUG-743010?

    To fix REDHAT-BUG-743010, upgrade the Perl Digest module to version 1.17 or later.

  • Which versions of Perl Digest are affected by REDHAT-BUG-743010?

    REDHAT-BUG-743010 affects Perl Digest module versions from 5.8.5 up to and including 1.16.

  • What is the main issue in REDHAT-BUG-743010?

    The main issue in REDHAT-BUG-743010 is improper input sanitization in the Digest->new() function, leading to potential code injection.

  • Is there a known exploit for REDHAT-BUG-743010?

    Yes, there is a potential exploit for REDHAT-BUG-743010 that could allow an attacker to inject and execute arbitrary Perl code.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203