GLSA-201706-22 : libksba: Denial of Service and information disclosure

high Nessus Plugin ID 101017

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-201706-22 (libksba: Denial of Service and information disclosure)

It was found that an unproportionate amount of memory is allocated when parsing crafted certificates in libskba, which may lead to Denial of Service condition.
Moreover in libksba 1.3.4, allocated memory is uninitialized and could potentially contain sensitive data left in freed memory block.
Impact :

A remote attacker, able to interact with an libksba-based application, could possibly obtain sensitive information or cause a Denial of Service condition.
Workaround :

There is no known workaround at this time.

Solution

All libksba users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-libs/libksba-1.3.5'

See Also

https://seclists.org/oss-sec/2016/q3/343

https://security.gentoo.org/glsa/201706-22

Plugin Details

Severity: High

ID: 101017

File Name: gentoo_GLSA-201706-22.nasl

Version: 3.3

Type: local

Published: 6/23/2017

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

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

CVSS v3

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

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

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

Patch Publication Date: 6/22/2017

Reference Information

CVE: CVE-2016-4579

GLSA: 201706-22