First published: Wed Nov 20 2013(Updated: )
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. Acknowledgements: This issue was discovered by Florian Weimer of the Red Hat Product Security Team.
Affected Software | Affected Version | How to fix |
---|---|---|
libjson-c |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
REDHAT-BUG-1032311 identifies a weakness in the hash function of the json-c library, causing quadratic timing behavior when parsing smallish JSON strings.
Applications linked to the json-c library can experience excessive CPU usage when processing specially-crafted JSON data due to the vulnerability.
The specific versions of json-c affected by REDHAT-BUG-1032311 have not been detailed, but any application utilizing the vulnerable library may be at risk.
To mitigate the impact of REDHAT-BUG-1032311, update to a patched version of the json-c library that addresses the weakness.
REDHAT-BUG-1032311 may not be classified as critical, but it poses a significant performance risk due to excessive CPU consumption.