Debian DLA-1567-1 : gthumb security update

Medium Nessus Plugin ID 118735

Synopsis

The remote Debian host is missing a security update.

Description

CVE-2018-18718 - CWE-415: Double Free The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

There is a suspected double-free bug with static void add_themes_from_dir() dlg-contact-sheet.c. This method involves two successive calls of g_free(buffer) (line 354 and 373), and is likely to cause double-free of the buffer. One possible fix could be directly assigning the buffer to NULL after the first call of g_free(buffer).
Thanks Tianjun Wu https://gitlab.gnome.org/GNOME/gthumb/issues/18

For Debian 8 'Jessie', this problem has been fixed in version 3:3.3.1-2.1+deb8u1

We recommend that you upgrade your gthumb packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://gitlab.gnome.org/GNOME/gthumb/issues/18

https://lists.debian.org/debian-lts-announce/2018/11/msg00002.html

https://packages.debian.org/source/jessie/gthumb

Plugin Details

Severity: Medium

ID: 118735

File Name: debian_DLA-1567.nasl

Version: 1.2

Type: local

Agent: unix

Published: 2018/11/06

Modified: 2018/12/10

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 4.6

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

CVSS v3.0

Base Score: 7.8

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:gthumb, p-cpe:/a:debian:debian_linux:gthumb-data, p-cpe:/a:debian:debian_linux:gthumb-dbg, p-cpe:/a:debian:debian_linux:gthumb-dev, cpe:/o:debian:debian_linux:8.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 2018/11/05

Reference Information

CVE: CVE-2018-18718