Gentoo Archives: gentoo-announce

From: Sergey Popov <pinkbyte@g.o>
To: gentoo-announce@g.o
Subject: [gentoo-announce] [ GLSA 201310-01 ] Perl Module-Signature module: Arbitrary code execution
Date: Fri, 04 Oct 2013 07:17:39
Message-Id: 524E6AED.5040908@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201310-01
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: Perl Module-Signature module: Arbitrary code execution
9 Date: October 04, 2013
10 Bugs: #472428
11 ID: 201310-01
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 The Module-Signature module for Perl has insufficient path checks,
19 allowing a remote attacker to execute arbitrary Perl code.
20
21 Background
22 ==========
23
24 The Perl Module::Signature module adds signing capabilities to CPAN
25 modules.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 dev-perl/Module-Signature
34 < 0.720.0 >= 0.720.0
35
36 Description
37 ===========
38
39 The 'cpansign verify' command will automatically download keys and use
40 them to check the signature of CPAN packages via the SIGNATURE file. If
41 an attacker were to replace this (SHA1) with a special unknown cipher
42 (e.g. 'Special') and were to include in the distribution a
43 'Digest/Special.pm', the code in this Perl module would be executed
44 when 'cpansign -verify' is run.
45
46 Impact
47 ======
48
49 A remote attacker could possibly execute arbitrary code with the
50 privileges of the process.
51
52 Workaround
53 ==========
54
55 There is no known workaround at this time.
56
57 Resolution
58 ==========
59
60 All users of the Module-Signature Perl module should upgrade to the
61 latest version:
62
63 # emerge --sync
64 # emerge --ask --oneshot -v ">=dev-perl/Module-Signature-0.720.0"
65
66 References
67 ==========
68
69 [ 1 ] CVE-2013-2145
70 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-2145
71
72 Availability
73 ============
74
75 This GLSA and any updates to it are available for viewing at
76 the Gentoo Security Website:
77
78 http://security.gentoo.org/glsa/glsa-201310-01.xml
79
80 Concerns?
81 =========
82
83 Security is a primary focus of Gentoo Linux and ensuring the
84 confidentiality and security of our users' machines is of utmost
85 importance to us. Any security concerns should be addressed to
86 security@g.o or alternatively, you may file a bug at
87 https://bugs.gentoo.org.
88
89 License
90 =======
91
92 Copyright 2013 Gentoo Foundation, Inc; referenced text
93 belongs to its owner(s).
94
95 The contents of this document are licensed under the
96 Creative Commons - Attribution / Share Alike license.
97
98 http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature