{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2012-0039",
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "dateUpdated": "2024-09-16T17:23:04.684Z",
        "dateReserved": "2011-12-07T00:00:00Z",
        "datePublished": "2012-01-14T17:00:00Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat",
                "dateUpdated": "2023-02-12T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "tags": [
                "disputed"
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "n/a",
                    "versions": [
                        {
                            "version": "n/a",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "name": "[oss-security] 20120110 glib2 hash dos oCert-2011-003",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "http://openwall.com/lists/oss-security/2012/01/10/12"
                },
                {
                    "name": "[gtk-devel-list] 20030529 Algorimic Complexity Attack on GLIB 2.2.1",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "http://mail.gnome.org/archives/gtk-devel-list/2003-May/msg00111.html"
                },
                {
                    "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655044"
                },
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=772720"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2012-01-10T00:00:00"
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-06T18:09:17.181Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "[oss-security] 20120110 glib2 hash dos oCert-2011-003",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "http://openwall.com/lists/oss-security/2012/01/10/12"
                    },
                    {
                        "name": "[gtk-devel-list] 20030529 Algorimic Complexity Attack on GLIB 2.2.1",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "http://mail.gnome.org/archives/gtk-devel-list/2003-May/msg00111.html"
                    },
                    {
                        "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655044",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=772720",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}