CVE-2012-0039
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of service disruption.
- Exploit odds
- 2.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.0% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 2.0% · EPSS, next 30 days
- Weakness
- CWE-310
- Record status
- Modified
Affected
- Gnome Glib ≤ 2.31.8
- Gnome Glib 1.1.12
- Gnome Glib 1.1.12-1
- Gnome Glib 1.1.15
- Gnome Glib 1.2.0
- Gnome Glib 1.2.1
- Gnome Glib 1.2.2
- Gnome Glib 1.2.3
Attack profile CVSS 3.1 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-0039.md and follow it. Check whether this project is affected by CVE-2012-0039. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655044
- http://mail.gnome.org/archives/gtk-devel-list/2003-May/msg00111.html
- http://openwall.com/lists/oss-security/2012/01/10/12
- https://bugzilla.redhat.com/show_bug.cgi?id=772720
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655044
- http://mail.gnome.org/archives/gtk-devel-list/2003-May/msg00111.html
- http://openwall.com/lists/oss-security/2012/01/10/12
- https://bugzilla.redhat.com/show_bug.cgi?id=772720