MGASA-2014-0175

Source
https://advisories.mageia.org/MGASA-2014-0175.html
Import Source
https://advisories.mageia.org/MGASA-2014-0175.json
JSON Data
https://api.osv.dev/v1/vulns/MGASA-2014-0175
Related
Published
2014-04-16T13:08:14Z
Modified
2014-04-16T13:07:59Z
Summary
Updated json-c packages fix security vulnerabilities
Details

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
Credits

Affected packages

Mageia:3 / json-c

Package

Name
json-c
Purl
pkg:rpm/mageia/json-c?distro=mageia-3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.11-1.mga3

Ecosystem specific

{
    "section": "core"
}

Mageia:4 / json-c

Package

Name
json-c
Purl
pkg:rpm/mageia/json-c?distro=mageia-4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.11-3.1.mga4

Ecosystem specific

{
    "section": "core"
}