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

Medium Nessus Plugin ID 82355


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


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).


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

See Also

Plugin Details

Severity: Medium

ID: 82355

File Name: mandriva_MDVSA-2015-102.nasl

Version: $Revision: 1.1 $

Type: local

Published: 2015/03/30

Modified: 2015/03/30

Dependencies: 12634

Risk Information

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: 2015/03/29

Reference Information

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

MDVSA: 2015:102