Joined: 12 May 2004
|Posted: Fri Oct 04, 2013 7:26 am Post subject: [ GLSA 201310-01 ] Perl Module-Signature module: Arbitrary c
|Gentoo Linux Security Advisory
Title: Perl Module-Signature module: Arbitrary code execution (GLSA 201310-01)
Date: October 04, 2013
The Module-Signature module for Perl has insufficient path checks,
allowing a remote attacker to execute arbitrary Perl code.
The Perl Module::Signature module adds signing capabilities to CPAN
Vulnerable: < 0.720.0
Unaffected: >= 0.720.0
Architectures: All supported architectures
The ‘cpansign verify’ command will automatically download keys and
use them to check the signature of CPAN packages via the SIGNATURE file.
If an attacker were to replace this (SHA1) with a special unknown cipher
(e.g. ‘Special’) and were to include in the distribution a
‘Digest/Special.pm’, the code in this Perl module would be executed
when ‘cpansign -verify’ is run.
A remote attacker could possibly execute arbitrary code with the
privileges of the process.
There is no known workaround at this time.
All users of the Module-Signature Perl module should upgrade to the
|# emerge --sync
# emerge --ask --oneshot --verbose