Gentoo Archives: gentoo-announce

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 201612-55 ] libjpeg-turbo: User-assisted execution of arbitrary code
Date: Sat, 31 Dec 2016 15:44:28
Message-Id: 40534b2d-6dde-dbf9-cf6d-a0a202c0900f@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201612-55
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: libjpeg-turbo: User-assisted execution of arbitrary code
9 Date: December 31, 2016
10 Bugs: #585782
11 ID: 201612-55
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 An out-of-bounds read in libjpeg-turbo might allow remote attackers to
19 execute arbitrary code.
20
21 Background
22 ==========
23
24 libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX,
25 SSE2, NEON, AltiVec) to accelerate baseline JPEG compression and
26 decompression.
27
28 Affected packages
29 =================
30
31 -------------------------------------------------------------------
32 Package / Vulnerable / Unaffected
33 -------------------------------------------------------------------
34 1 media-libs/libjpeg-turbo
35 < 1.5.0 >= 1.5.0
36
37 Description
38 ===========
39
40 The accelerated Huffman decoder was previously invoked if there were
41 128 bytes in the input buffer. However, it is possible to construct a
42 JPEG image with Huffman blocks > 430 bytes in length. This release
43 simply increases the minimum buffer size for the accelerated Huffman
44 decoder to 512 bytes, which should accommodate any possible input.
45
46 Impact
47 ======
48
49 A remote attacker could coerce the victim to run a specially crafted
50 image file resulting in the execution of arbitrary code.
51
52 Workaround
53 ==========
54
55 There is no known workaround at this time.
56
57 Resolution
58 ==========
59
60 All libjpeg-turbo users should upgrade to the latest version:
61
62 # emerge --sync
63 # emerge --ask --oneshot --verbose ">=media-libs/libjpeg-turbo-1.5.0"
64
65 References
66 ==========
67
68 [ 1 ] LJT-01-005
69 https://wiki.mozilla.org/images/7/77/Libjpeg-turbo-report.pdf
70 [ 2 ] Prevent overread when decoding malformed JPEG
71
72 https://github.com/libjpeg-turbo/libjpeg-turbo/commit/0463f7c9aad060fcd56e98d025ce16185279e2bc
73
74 Availability
75 ============
76
77 This GLSA and any updates to it are available for viewing at
78 the Gentoo Security Website:
79
80 https://security.gentoo.org/glsa/201612-55
81
82 Concerns?
83 =========
84
85 Security is a primary focus of Gentoo Linux and ensuring the
86 confidentiality and security of our users' machines is of utmost
87 importance to us. Any security concerns should be addressed to
88 security@g.o or alternatively, you may file a bug at
89 https://bugs.gentoo.org.
90
91 License
92 =======
93
94 Copyright 2016 Gentoo Foundation, Inc; referenced text
95 belongs to its owner(s).
96
97 The contents of this document are licensed under the
98 Creative Commons - Attribution / Share Alike license.
99
100 http://creativecommons.org/licenses/by-sa/2.5

Attachments

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