Gentoo Archives: gentoo-announce

From: ajak@g.o
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 202107-17 ] Mechanize: Command injection
Date: Thu, 08 Jul 2021 04:02:01
Message-Id: YOZz276ZGhbNNoLa@sol.nexus.lan
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 202107-17
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: Mechanize: Command injection
9 Date: July 08, 2021
10 Bugs: #768609
11 ID: 202107-17
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A file named by an attacker being utilized by Mechanize could result in
19 arbitrary code execution.
20
21 Background
22 ==========
23
24 Mechanize is a Ruby library used for automating interaction with
25 websites.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 dev-ruby/mechanize < 2.7.7 >= 2.7.7
34
35 Description
36 ===========
37
38 Mechanize does not neutralize filename input and could allow arbitrary
39 code execution if an attacker can control filenames used by Mechanize.
40
41 Impact
42 ======
43
44 Please review the referenced CVE identifiers for details.
45
46 Workaround
47 ==========
48
49 There is no known workaround at this time.
50
51 Resolution
52 ==========
53
54 All Mechanize users should upgrade to the latest version:
55
56 # emerge --sync
57 # emerge --ask --oneshot --verbose ">=dev-ruby/mechanize-2.7.7"
58
59 References
60 ==========
61
62 [ 1 ] CVE-2021-21289
63 https://nvd.nist.gov/vuln/detail/CVE-2021-21289
64
65 Availability
66 ============
67
68 This GLSA and any updates to it are available for viewing at
69 the Gentoo Security Website:
70
71 https://security.gentoo.org/glsa/202107-17
72
73 Concerns?
74 =========
75
76 Security is a primary focus of Gentoo Linux and ensuring the
77 confidentiality and security of our users' machines is of utmost
78 importance to us. Any security concerns should be addressed to
79 security@g.o or alternatively, you may file a bug at
80 https://bugs.gentoo.org.
81
82 License
83 =======
84
85 Copyright 2021 Gentoo Foundation, Inc; referenced text
86 belongs to its owner(s).
87
88 The contents of this document are licensed under the
89 Creative Commons - Attribution / Share Alike license.
90
91 https://creativecommons.org/licenses/by-sa/2.5

Attachments

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