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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
json-c | <0.12-20140410 | |
Fedoraproject Fedora | =20 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2013-6371 has a medium severity due to its potential to cause excessive CPU usage.
To fix CVE-2013-6371, update the json-c library to version 0.12-20140410 or later.
CVE-2013-6371 affects json-c library versions before 0.12-20140410 and Fedora 20.
CVE-2013-6371 can lead to denial of service attacks by exploiting quadratic timing behavior in JSON parsing.
A temporary workaround for CVE-2013-6371 includes limiting the size and complexity of JSON data processed by affected applications.