Gentoo Archives: gentoo-announce

From: John Helmert III <ajak@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 202107-03 ] libqb: Insecure temporary file
Date: Mon, 05 Jul 2021 02:58:32
Message-Id: YODlKNm1lf99TF6c@sol.nexus.lan
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 202107-03
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: libqb: Insecure temporary file
9 Date: July 03, 2021
10 Bugs: #699860
11 ID: 202107-03
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 An insecure temporary file usage has been reported in libqb possibly
19 allowing local code execution.
20
21 Background
22 ==========
23
24 libqb is a library with the primary purpose of providing
25 high-performance, reusable features for client-server architecture,
26 such as logging, tracing, inter-process communication (IPC), and
27 polling.
28
29 Affected packages
30 =================
31
32 -------------------------------------------------------------------
33 Package / Vulnerable / Unaffected
34 -------------------------------------------------------------------
35 1 sys-cluster/libqb < 1.0.5 >= 1.0.5
36
37 Description
38 ===========
39
40 It was discovered that libqb used predictable filenames (under /dev/shm
41 and /tmp) without O_EXCL.
42
43 Impact
44 ======
45
46 A local attacker could perform symlink attacks to overwrite arbitrary
47 files with the privileges of the user running the application linked
48 against libqb.
49
50 Workaround
51 ==========
52
53 There is no known workaround at this time.
54
55 Resolution
56 ==========
57
58 All libqb users should upgrade to the latest version:
59
60 # emerge --sync
61 # emerge --ask --oneshot --verbose ">=sys-cluster/libqb-1.0.5"
62
63 References
64 ==========
65
66 [ 1 ] CVE-2019-12779
67 https://nvd.nist.gov/vuln/detail/CVE-2019-12779
68
69 Availability
70 ============
71
72 This GLSA and any updates to it are available for viewing at
73 the Gentoo Security Website:
74
75 https://security.gentoo.org/glsa/202107-03
76
77 Concerns?
78 =========
79
80 Security is a primary focus of Gentoo Linux and ensuring the
81 confidentiality and security of our users' machines is of utmost
82 importance to us. Any security concerns should be addressed to
83 security@g.o or alternatively, you may file a bug at
84 https://bugs.gentoo.org.
85
86 License
87 =======
88
89 Copyright 2021 Gentoo Foundation, Inc; referenced text
90 belongs to its owner(s).
91
92 The contents of this document are licensed under the
93 Creative Commons - Attribution / Share Alike license.
94
95 https://creativecommons.org/licenses/by-sa/2.5

Attachments

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