From ea3eae3f3feeb5aabc658cef8f15871d4bbac6cb Mon Sep 17 00:00:00 2001 From: John Helmert III Date: Fri, 2 Jul 2021 22:26:23 -0500 Subject: [PATCH] [ GLSA 202107-03 ] libqb: Insecure temporary file Signed-off-by: John Helmert III --- glsa-202107-03.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 glsa-202107-03.xml diff --git a/glsa-202107-03.xml b/glsa-202107-03.xml new file mode 100644 index 0000000000000..2de2f6eb59411 --- /dev/null +++ b/glsa-202107-03.xml @@ -0,0 +1,52 @@ + + + + libqb: Insecure temporary file + An insecure temporary file usage has been reported in libqb + possibly allowing local code execution. + + libqb + 2021-07-03 + 2021-07-03 + 699860 + local + + + 1.0.5 + 1.0.5 + + + +

libqb is a library with the primary purpose of providing + high-performance, reusable features for client-server architecture, such + as logging, tracing, inter-process communication (IPC), and polling. +

+
+ +

It was discovered that libqb used predictable filenames (under /dev/shm + and /tmp) without O_EXCL. +

+
+ +

A local attacker could perform symlink attacks to overwrite arbitrary + files with the privileges of the user running the application linked + against libqb. +

+
+ +

There is no known workaround at this time.

+
+ +

All libqb users should upgrade to the latest version:

+ + + # emerge --sync + # emerge --ask --oneshot --verbose ">=sys-cluster/libqb-1.0.5" + +
+ + CVE-2019-12779 + + whissi + whissi +