GLSA-202107-03 : libqb: Insecure temporary file

high Nessus Plugin ID 157028

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202107-03 (libqb: Insecure temporary file)

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

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

There is no known workaround at this time.

Solution

All libqb users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-cluster/libqb-1.0.5'

See Also

https://security.gentoo.org/glsa/202107-03

Plugin Details

Severity: High

ID: 157028

File Name: gentoo_GLSA-202107-03.nasl

Version: 1.4

Type: local

Published: 1/24/2022

Updated: 12/21/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 5.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:C/A:C

CVSS Score Source: CVE-2019-12779

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.4

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libqb, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/3/2021

Vulnerability Publication Date: 6/7/2019

Reference Information

CVE: CVE-2019-12779

GLSA: 202107-03