Mandriva: 2014:079: json-c
Posted by Benjamin D. Thomas   
Mandrake 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 [More...]
 _______________________________________________________________________

 Mandriva Linux Security Advisory                         MDVSA-2014:079
 http://www.mandriva.com/en/support/security/
 _______________________________________________________________________

 Package : json-c
 Date    : April 17, 2014
 Affected: Business Server 1.0
 _______________________________________________________________________

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

 References:

 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-6370
 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-6371
 http://advisories.mageia.org/MGASA-2014-0175.html
 _______________________________________________________________________

 Updated Packages:

 Mandriva Business Server 1/X86_64:
 f799ac04871a5044f8c8c4802f29f33a  mbs1/x86_64/lib64json2-0.11-1.1.mbs1.x86_64.rpm
 9c7a7e290ebd91a7fc071f04e0abe340  mbs1/x86_64/lib64json-devel-0.11-1.1.mbs1.x86_64.rpm 
 f3c134fa6a2ee59590340ab94dfa079d  mbs1/SRPMS/json-c-0.11-1.1.mbs1.src.rpm
 _______________________________________________________________________

 To upgrade automatically use MandrivaUpdate or urpmi.  The verification
 of md5 checksums and GPG signatures is performed automatically for you.

 All packages are signed by Mandriva for security.  You can obtain the
 GPG public key of the Mandriva Security Team by executing:

  gpg --recv-keys --keyserver pgp.mit.edu 0x22458A98

 You can view other update advisories for Mandriva Linux at:

  http://www.mandriva.com/en/support/security/advisories/

 If you want to report vulnerabilities, please contact

  security_(at)_mandriva.com
 _______________________________________________________________________