Gentoo Logo

Perl Digest-Base module: Arbitrary code execution


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201401-33 / digest-base
Release Date January 29, 2014
Latest Revision January 29, 2014: 1
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
perl-core/digest-base < 1.170.0 >= 1.170.0 All supported architectures

Related bugreports: #385487


A vulnerability has been found in the Digest-Base Perl module, allowing remote attackers to execute arbitrary code.

2.  Impact Information


Digest-Base is a set of Perl modules that calculate message digests


The vulnerability is caused due to the “Digest->new()” function not properly sanitising input before using it in an “eval()” call.


The vulnerability might allow an attacker to execute arbitrary code.

3.  Resolution Information


There is no known workaround at this time.


All Digest-Base module users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=perl-core/digest-base-1.170.0"

4.  References


Page updated January 29, 2014

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.