CVE-2012-0039

high

Description

GLib 2.31.8 and earlier, when the g_str_hash function is used, computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table. NOTE: this issue may be disputed by the vendor; the existence of the g_str_hash function is not a vulnerability in the library, because callers of g_hash_table_new and g_hash_table_new_full can specify an arbitrary hash function that is appropriate for the application.

References

https://bugzilla.redhat.com/show_bug.cgi?id=772720

http://openwall.com/lists/oss-security/2012/01/10/12

http://mail.gnome.org/archives/gtk-devel-list/2003-May/msg00111.html

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655044

Details

Source: Mitre, NVD

Published: 2012-01-14

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High