Gentoo Archives: gentoo-announce

From: Sergey Popov <pinkbyte@g.o>
To: gentoo-announce@g.o
Subject: [gentoo-announce] [ GLSA 201402-19 ] libtar: Arbitraty code execution
Date: Fri, 21 Feb 2014 07:59:14
Message-Id: 530706E5.7060404@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201402-19
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: libtar: Arbitraty code execution
9 Date: February 21, 2014
10 Bugs: #487420
11 ID: 201402-19
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A buffer overflow in libtar might allow remote attackers to execute
19 arbitrary code or cause a Denial of Service condition.
20
21 Background
22 ==========
23
24 libtar is a C library for manipulating POSIX tar files.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 dev-libs/libtar < 1.2.20-r2 >= 1.2.20-r2
33
34 Description
35 ===========
36
37 An integer overflow error within the “th_read()” function when
38 processing long names or link extensions can be exploited to cause a
39 heap-based buffer overflow via a specially crafted archive.
40
41 Impact
42 ======
43
44 A remote attacker could entice a user to open a specially crafted file
45 using a program linked against libtar, possibly resulting in execution
46 of arbitrary code with the privileges of the process or a Denial of
47 Service condition.
48
49 Workaround
50 ==========
51
52 There is no known workaround at this time.
53
54 Resolution
55 ==========
56
57 All libtar users should upgrade to the latest version:
58
59 # emerge --sync
60 # emerge --ask --oneshot --verbose ">=dev-libs/libtar-1.2.20-r2"
61
62 References
63 ==========
64
65 [ 1 ] CVE-2013-4397
66 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4397
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 http://security.gentoo.org/glsa/glsa-201402-19.xml
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 2014 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 http://creativecommons.org/licenses/by-sa/2.5

Attachments

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