9.8crit

CVE-2016-4303

The parse_string function in cjson.c in the cJSON library mishandles UTF8/16 strings, which allows remote attackers to cause a denial of se…

Published 10 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
7.0%
percentile 94%
Public exploits
0
none known

Summary

The parse_string function in cjson.c in the cJSON library mishandles UTF8/16 strings, which allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a non-hex character in a JSON string, which triggers a heap-based buffer overflow.

Exploit prediction (EPSS)

6.96% probability of exploitation in the next 30 days, higher than 94% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.19.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.07.5AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

  • talosintelligence.com /reports/TALOS-2016-0164/ · x_refsource_MISC, x_transferred
  • blog.talosintel.com /2016/06/esnet-vulnerability.html · x_refsource_MISC, x_transferred
  • software.es.net /iperf/news.html#security-issue-iperf-3-1-3-iperf-3-0-12-released · x_refsource_CONFIRM, x_transferred
  • raw.githubusercontent.com /esnet/security/master/cve-2016-4303/esnet-secadv-2016-0001.txt.asc · x_refsource_CONFIRM, x_transferred
  • github.com /esnet/iperf/commit/91f2fa59e8ed80dfbf400add0164ee0e508e412a · x_refsource_CONFIRM, x_transferred
  • lists.opensuse.org /opensuse-updates/2016-08/msg00082.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • lists.opensuse.org /opensuse-updates/2016-08/msg00090.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • lists.debian.org /debian-lts-announce/2020/01/msg00023.html · mailing-list, x_refsource_MLIST, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.