Mandriva Linux Security Advisory : json-c (MDVSA-2015:102)

medium Nessus Plugin ID 82355

Synopsis

The remote Mandriva Linux host is missing one or more security updates.

Description

Updated json-c packages fix security vulnerabilities :

Florian Weimer reported that the printbuf APIs used in the json-c library used ints for counting buffer lengths, which is inappropriate for 32bit architectures. These functions need to be changed to using size_t if possible for sizes, or to be hardened against negative values if not. This could be used to cause a denial of service in an application linked to the json-c library (CVE-2013-6370).

Florian Weimer reported that the hash function in the json-c library was weak, and that parsing smallish JSON strings showed quadratic timing behaviour. This could cause an application linked to the json-c library, and that processes some specially crafted JSON data, to use excessive amounts of CPU (CVE-2013-6371).

Solution

Update the affected lib64json-devel and / or lib64json2 packages.

See Also

http://advisories.mageia.org/MGASA-2014-0175.html

Plugin Details

Severity: Medium

ID: 82355

File Name: mandriva_MDVSA-2015-102.nasl

Version: 1.4

Type: local

Published: 3/30/2015

Updated: 1/14/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:lib64json-devel, p-cpe:/a:mandriva:linux:lib64json2, cpe:/o:mandriva:business_server:2

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Patch Publication Date: 3/29/2015

Reference Information

CVE: CVE-2013-6370, CVE-2013-6371

MDVSA: 2015:102