CVE-2012-0039
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.
What to do
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | glib2.0 | Fix pending | UBUNTU-CVE-2012-0039 | |
| Ubuntu 16.04 | glib2.0 | Will not fix as of 2012-02-21, upstream has simply added a warning: http://git.gnome.org/browse/glib/commit/?id=030b3f25e3e5c018247e18bf309e0454ba138898… | UBUNTU-CVE-2012-0039 | |
| Ubuntu 14.04 | glib2.0 | Fix pending | UBUNTU-CVE-2012-0039 | |
| Debian 14 | glib2.0 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2012-0039 | |
| Debian 13 | glib2.0 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2012-0039 | |
| Debian 12 | glib2.0 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2012-0039 | |
| Red Hat Enterprise Linux 6 | glib2 | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | glib2-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | glib2-doc | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | glib2-static | Fix pending Affected | ||
| Red Hat Enterprise Linux 5 | glib2 | Fix pending Affected | ||
| Red Hat Enterprise Linux 4 | glib2 | Fix pending Affected |
References
- 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
- https://bugzilla.redhat.com/show_bug.cgi?id=772720
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.