CVE-2013-6370
published 2014-04-22CVE-2013-6370: Buffer overflow in the printbuf APIs in json-c before 0.12 allows remote attackers to cause a denial of service via unspecified vectors.
PriorityP427medium5CVSS 2.0
AVNACLAuNCNINAP
EPSS
4.19%
89.9th percentile
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
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | json-c | < json-c 0.11-4 (bookworm) | json-c 0.11-4 (bookworm) |
| fedoraproject | fedora | — | — |
| json-c | json-c | < 0.12-20140410 | 0.12-20140410 |
| json-c | json-c | >= 0 < 0.11-4 | 0.11-4 |
| json-c | json-c | >= 0 < 0.11-4 | 0.11-4 |
| json-c | json-c | >= 0 < 0.11-4 | 0.11-4 |
| json-c | json-c | >= 0 < 0.11-4 | 0.11-4 |
| json-c | json-c | >= 0 < 0.11-3ubuntu1.2 | 0.11-3ubuntu1.2 |
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv5.0MEDIUM
vendor_debian5.0MEDIUM
vendor_redhat5.0MEDIUM
vendor_ubuntu5.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-w5g5-g39g-7p84: Buffer overflow in the printbuf APIs in json-c before 0
ghsa_unreviewed·2022-05-17
CVE-2013-6370 [MEDIUM] CWE-119 GHSA-w5g5-g39g-7p84: Buffer overflow in the printbuf APIs in json-c before 0
Buffer overflow in the printbuf APIs in json-c before 0.12 allows remote attackers to cause a denial of service via unspecified vectors.
OSV
json-c vulnerabilities
osv·2014-06-12·CVSS 5.0
CVE-2013-6370 [MEDIUM] json-c vulnerabilities
json-c vulnerabilities
Florian Weimer discovered that json-c incorrectly handled buffer lengths.
An attacker could use this issue with a specially-crafted large JSON
document to cause json-c to crash, resulting in a denial of service.
(CVE-2013-6370)
Florian Weimer discovered that json-c incorrectly handled hash arrays. An
attacker could use this issue with a specially-crafted JSON document to
cause json-c to consume CPU resources, resulting in a denial of service.
(CVE-2013-6371)
OSV
CVE-2013-6370: Buffer overflow in the printbuf APIs in json-c before 0
osv·2014-04-22·CVSS 5.0
CVE-2013-6370 [MEDIUM] CVE-2013-6370: Buffer overflow in the printbuf APIs in json-c before 0
Buffer overflow in the printbuf APIs in json-c before 0.12 allows remote attackers to cause a denial of service via unspecified vectors.
Ubuntu
json-c vulnerabilities
vendor_ubuntu·2014-06-12·CVSS 5.0
CVE-2013-6370 [MEDIUM] json-c vulnerabilities
Title: json-c vulnerabilities
Summary: json-c could be made to crash or consume CPU if it processed a specially
crafted JSON document.
Florian Weimer discovered that json-c incorrectly handled buffer lengths.
An attacker could use this issue with a specially-crafted large JSON
document to cause json-c to crash, resulting in a denial of service.
(CVE-2013-6370)
Florian Weimer discovered that json-c incorrectly handled hash arrays. An
attacker could use this issue with a specially-crafted JSON document to
cause json-c to consume CPU resources, resulting in a denial of service.
(CVE-2013-6371)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
json-c: buffer overflow if size_t is larger than int
vendor_redhat·2014-04-09·CVSS 5.0
CVE-2013-6370 [MEDIUM] json-c: buffer overflow if size_t is larger than int
json-c: buffer overflow if size_t is larger than int
Buffer overflow in the printbuf APIs in json-c before 0.12 allows remote attackers to cause a denial of service via unspecified vectors.
Package: php55-php-pecl-jsonc (Red Hat Software Collections) - Affected
Debian
CVE-2013-6370: json-c - Buffer overflow in the printbuf APIs in json-c before 0.12 allows remote attacke...
vendor_debian·2013·CVSS 5.0
CVE-2013-6370 [MEDIUM] CVE-2013-6370: json-c - Buffer overflow in the printbuf APIs in json-c before 0.12 allows remote attacke...
Buffer overflow in the printbuf APIs in json-c before 0.12 allows remote attackers to cause a denial of service via unspecified vectors.
Scope: local
bookworm: resolved (fixed in 0.11-4)
bullseye: resolved (fixed in 0.11-4)
forky: resolved (fixed in 0.11-4)
sid: resolved (fixed in 0.11-4)
trixie: resolved (fixed in 0.11-4)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2013-6371 CVE-2013-6370 json-c: various flaws [epel-all]
bugzilla·2014-04-09·CVSS 5.0
CVE-2013-6371 [MEDIUM] CVE-2013-6371 CVE-2013-6370 json-c: various flaws [epel-all]
CVE-2013-6371 CVE-2013-6370 json-c: various flaws [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this issue affects multipl
Bugzilla
CVE-2013-6371 CVE-2013-6370 json-c: various flaws [fedora-all]
bugzilla·2014-04-09·CVSS 5.0
CVE-2013-6371 [MEDIUM] CVE-2013-6371 CVE-2013-6370 json-c: various flaws [fedora-all]
CVE-2013-6371 CVE-2013-6370 json-c: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this issue affects multiple s
Bugzilla
CVE-2013-6370 json-c: buffer overflow if size_t is larger than int
bugzilla·2013-11-20·CVSS 5.0
CVE-2013-6370 [MEDIUM] CVE-2013-6370 json-c: buffer overflow if size_t is larger than int
CVE-2013-6370 json-c: buffer overflow if size_t is larger than int
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.
Acknowledgements:
This issue was discovered by Florian Weimer of the Red Hat Product Security Team.
Discussion:
Public via:
https://github.com/json-c/json-c/commit/64e36901a0614bf64a19bc3396469c66dcd0b015
---
Created json-c tracking bugs for this issue:
Affects: fedora-all [bug 1085676]
Affects: epel-all [bug 1085677]
---
json-c-0.11-6.fc
http://lists.fedoraproject.org/pipermail/package-announce/2014-April/131845.htmlhttp://secunia.com/advisories/57791http://www.mandriva.com/security/advisories?name=MDVSA-2014:079http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.htmlhttp://www.securityfocus.com/bid/66720https://bugzilla.redhat.com/show_bug.cgi?id=1032322https://exchange.xforce.ibmcloud.com/vulnerabilities/92540https://github.com/json-c/json-c/commit/64e36901a0614bf64a19bc3396469c66dcd0b015http://lists.fedoraproject.org/pipermail/package-announce/2014-April/131845.htmlhttp://secunia.com/advisories/57791http://www.mandriva.com/security/advisories?name=MDVSA-2014:079http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.htmlhttp://www.securityfocus.com/bid/66720https://bugzilla.redhat.com/show_bug.cgi?id=1032322https://exchange.xforce.ibmcloud.com/vulnerabilities/92540https://github.com/json-c/json-c/commit/64e36901a0614bf64a19bc3396469c66dcd0b015
2014-04-22
Published