Cloudanix VulnDB

CVE-2013-6370

None

CVSS

—

EPSS

4.3%

Published

Apr 22, 2014

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A long-standing flaw in a common JSON processing library can let attackers knock services offline by sending specially crafted data.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Buffer overflow in the printbuf APIs allows memory corruption that leads to application crashes when processing attacker-controlled input.

Why it matters to the business

Applications relying on the affected library can be forced offline, disrupting services that parse JSON data and requiring emergency restarts or patches.

How an attack unfolds

An attacker supplies a malicious JSON payload that overflows internal buffers in the printbuf functions; because the flaw is remotely triggerable with low complexity and public exploits exist, the input causes immediate denial of service without authentication.

How to fix it

Upgrade json-c to version 0.12 or later on all affected systems; rebuild and redeploy any applications statically linked against older versions.

How to confirm the fix worked

Query installed package versions with package managers or library metadata; confirm that no binaries or containers still reference json-c releases prior to 0.12.

Typical attack path

  1. Identify a network endpoint or service that uses the vulnerable json-c library to parse JSON
  2. Craft a payload that triggers the printbuf buffer overflow
  3. Send the payload over the network
  4. Observe service crash or repeated restarts confirming denial of service

How to detect it

Review application and system logs for unexpected crashes or segmentation faults in processes that parse JSON; correlate with inbound network traffic containing large or malformed JSON objects around the time of the incident.

What your security team should do

  • Prioritize inventory of all systems using json-c and schedule upgrades within normal change windows given the age of the issue
  • Add version checks for json-c to continuous integration and container scanning pipelines
  • Monitor EPSS trend for any future increase that would elevate patching priority

The record

Buffer overflow in the printbuf APIs in json-c before 0.12 allows remote attackers to cause a denial of service via unspecified vectors.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 json-c 0 0.11-4
Debian:12 json-c 0 0.11-4
Debian:13 json-c 0 0.11-4
Debian:14 json-c 0 0.11-4
Mageia:3 json-c 0 0.11-1.mga3
Mageia:4 json-c 0 0.11-3.1.mga4
Red Hat:enterprise_linux:7::client json-c 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::client json-c-debuginfo 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::client json-c-devel 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::client json-c-doc 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::computenode json-c 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::computenode json-c-debuginfo 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::computenode json-c-devel 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::computenode json-c-doc 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::server json-c 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::server json-c-debuginfo 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::server json-c-devel 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::server json-c-doc 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::workstation json-c 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::workstation json-c-debuginfo 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::workstation json-c-devel 0 0:0.11-4.el7_0
Red Hat:enterprise_linux:7::workstation json-c-doc 0 0:0.11-4.el7_0
Ubuntu:14.04:LTS json-c 0 0.11-3ubuntu1.2
openSUSE:Tumbleweed json-c 0 0.12.1-1.3
openSUSE:Tumbleweed rsyslog 0 8.23.0-2.1

Related vulnerabilities