Gentoo Archives: gentoo-announce

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 202003-44 ] Binary diff: Heap-based buffer overflow
Date: Thu, 19 Mar 2020 18:42:37
Message-Id: 990c6ab3-bbd1-bc9e-6fa0-bbd728204533@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 202003-44
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: Binary diff: Heap-based buffer overflow
9 Date: March 19, 2020
10 Bugs: #701848
11 ID: 202003-44
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A heap-based buffer overflow in Binary diff might allow remote
19 attackers to execute arbitrary code.
20
21 Background
22 ==========
23
24 bsdiff and bspatch are tools for building and applying patches to
25 binary files.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 dev-util/bsdiff < 4.3-r4 >= 4.3-r4
34
35 Description
36 ===========
37
38 It was discovered that the implementation of bspatch did not check for
39 a negative value on numbers of bytes read from the diff and extra
40 streams.
41
42 Impact
43 ======
44
45 A remote attacker could entice a user to apply a specially crafted
46 patch using bspatch, possibly resulting in execution of arbitrary code
47 with the privileges of the process or a Denial of Service condition.
48
49 Workaround
50 ==========
51
52 There is no known workaround at this time.
53
54 Resolution
55 ==========
56
57 All Binary diff users should upgrade to the latest version:
58
59 # emerge --sync
60 # emerge --ask --oneshot --verbose ">=dev-util/bsdiff-4.3-r4"
61
62 References
63 ==========
64
65 [ 1 ] CVE-2014-9862
66 https://nvd.nist.gov/vuln/detail/CVE-2014-9862
67
68 Availability
69 ============
70
71 This GLSA and any updates to it are available for viewing at
72 the Gentoo Security Website:
73
74 https://security.gentoo.org/glsa/202003-44
75
76 Concerns?
77 =========
78
79 Security is a primary focus of Gentoo Linux and ensuring the
80 confidentiality and security of our users' machines is of utmost
81 importance to us. Any security concerns should be addressed to
82 security@g.o or alternatively, you may file a bug at
83 https://bugs.gentoo.org.
84
85 License
86 =======
87
88 Copyright 2020 Gentoo Foundation, Inc; referenced text
89 belongs to its owner(s).
90
91 The contents of this document are licensed under the
92 Creative Commons - Attribution / Share Alike license.
93
94 https://creativecommons.org/licenses/by-sa/2.5

Attachments

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