CVE-2012-0039
Publiée le 2012-01-14 · Dernière modification le 2026-06-16
Les applications utilisant GLib 2.31.8 ou une version antérieure et s'appuyant sur la fonction `g_str_hash` par défaut sont vulnérables à une attaque par déni de service. Un attaquant distant non authentifié peut envoyer des données spécifiquement conçues à l'application pour provoquer des collisions de hachage, forçant le processeur à atteindre sa capacité maximale et risquant ainsi de figer le service. Cet exploit est relativement facile à exécuter car il ne nécessite aucun privilège spécial ni interaction de l'utilisateur, seulement un accès réseau à l'application concernée.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
Description officielle du NVD (en anglais)
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.