Issued:
2014-06-10
Updated:
2014-06-10

RHSA-2014:0703 - Moderate: json-c security update


Synopsis

Moderate: json-c security update

Type/Severity

Security Advisory Moderate

Topic

Updated json-c packages that fix two security issues are now available for Red Hat Enterprise Linux 7.

The Red Hat Security Response Team has rated this update as having Moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section.

Description

JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON-formatted strings, and parse JSON-formatted strings back into the C representation of JSON objects.

Multiple buffer overflow flaws were found in the way the json-c library handled long strings in JSON documents. An attacker able to make an application using json-c parse excessively large JSON input could cause the application to crash. (CVE-2013-6370)

A denial of service flaw was found in the implementation of hash arrays in json-c. An attacker could use this flaw to make an application using json-c consume an excessive amount of CPU time by providing a specially crafted JSON document that triggers multiple hash function collisions. To mitigate this issue, json-c now uses a different hash function and randomization to reduce the chance of an attacker successfully causing intentional collisions. (CVE-2013-6371)

These issues were discovered by Florian Weimer of the Red Hat Product Security Team.

All json-c users are advised to upgrade to these updated packages, which contain backported patches to correct these issues.

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/site/articles/11258

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.7x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.6x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.4x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.3x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.7x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.6x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.5x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.4x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.3x86_64
Red Hat Enterprise Linux for Scientific Computing7x86_64
Red Hat Enterprise Linux for Power, big endian7ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.7ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.6ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.5ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.4ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.3ppc64
Red Hat Enterprise Linux for IBM z Systems7s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.7s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.6s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.5s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.4s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.3s390x
Red Hat Enterprise Linux Workstation7x86_64
Red Hat Enterprise Linux Server7x86_64
Red Hat Enterprise Linux Server from RHUI7x86_64
Red Hat Enterprise Linux Server - TUS7.7x86_64
Red Hat Enterprise Linux Server - TUS7.6x86_64
Red Hat Enterprise Linux Server - TUS7.3x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support7x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian7ppc64
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)7s390x
Red Hat Enterprise Linux Server - AUS7.7x86_64
Red Hat Enterprise Linux Server - AUS7.6x86_64
Red Hat Enterprise Linux Server - AUS7.4x86_64
Red Hat Enterprise Linux Server - AUS7.3x86_64
Red Hat Enterprise Linux EUS Compute Node7.7x86_64
Red Hat Enterprise Linux EUS Compute Node7.6x86_64
Red Hat Enterprise Linux EUS Compute Node7.5x86_64
Red Hat Enterprise Linux EUS Compute Node7.4x86_64
Red Hat Enterprise Linux EUS Compute Node7.3x86_64
Red Hat Enterprise Linux Desktop7x86_64

Updated Packages

  • json-c-0.11-4.el7_0.x86_64.rpm
  • json-c-devel-0.11-4.el7_0.ppc.rpm
  • json-c-debuginfo-0.11-4.el7_0.s390.rpm
  • json-c-0.11-4.el7_0.i686.rpm
  • json-c-debuginfo-0.11-4.el7_0.x86_64.rpm
  • json-c-debuginfo-0.11-4.el7_0.ppc.rpm
  • json-c-0.11-4.el7_0.ppc.rpm
  • json-c-devel-0.11-4.el7_0.x86_64.rpm
  • json-c-devel-0.11-4.el7_0.i686.rpm
  • json-c-0.11-4.el7_0.ppc64.rpm
  • json-c-debuginfo-0.11-4.el7_0.i686.rpm
  • json-c-0.11-4.el7_0.src.rpm
  • json-c-devel-0.11-4.el7_0.s390x.rpm
  • json-c-doc-0.11-4.el7_0.noarch.rpm
  • json-c-devel-0.11-4.el7_0.ppc64.rpm
  • json-c-debuginfo-0.11-4.el7_0.ppc64.rpm
  • json-c-0.11-4.el7_0.s390x.rpm
  • json-c-0.11-4.el7_0.s390.rpm
  • json-c-devel-0.11-4.el7_0.s390.rpm
  • json-c-debuginfo-0.11-4.el7_0.s390x.rpm

Fixes

CVEs

References


Additional information