{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2012-01-05T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "tables/apr_hash.c in the Apache Portable Runtime (APR) library through 1.4.5 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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2017-12-04T17:57:01",
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat"
            },
            "references": [
                {
                    "name": "[apr-commits] 20120115 svn commit: r1231605 - /apr/apr/trunk/tables/apr_hash.c",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD%40eris.apache.org%3E"
                },
                {
                    "name": "apacheapr-hash-dos(73096)",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_XF"
                    ],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73096"
                },
                {
                    "name": "[oss-security] 20120208 CVE request: apr - Hash DoS vulnerability",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://openwall.com/lists/oss-security/2012/02/08/3"
                },
                {
                    "name": "MDVSA-2012:019",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_MANDRIVA"
                    ],
                    "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:019"
                },
                {
                    "name": "47862",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/47862"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://svn.apache.org/viewvc?rev=1231605&view=rev"
                },
                {
                    "name": "[dev] 20120105 Hash collision vectors in APR?",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.mail-archive.com/dev%40apr.apache.org/msg24439.html"
                },
                {
                    "name": "[dev] 20120113 Re: Hash collision vectors in APR?",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.mail-archive.com/dev%40apr.apache.org/msg24472.html"
                },
                {
                    "name": "[oss-security] 20120208 Re: CVE request: apr - Hash DoS vulnerability",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://openwall.com/lists/oss-security/2012/02/09/1"
                },
                {
                    "name": "[dev] 20120114 Re: Hash collision vectors in APR?",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.mail-archive.com/dev%40apr.apache.org/msg24473.html"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "secalert@redhat.com",
                    "ID": "CVE-2012-0840",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "n/a",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "n/a"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "n/a"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "tables/apr_hash.c in the Apache Portable Runtime (APR) library through 1.4.5 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."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "n/a"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "[apr-commits] 20120115 svn commit: r1231605 - /apr/apr/trunk/tables/apr_hash.c",
                            "refsource": "MLIST",
                            "url": "http://mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD@eris.apache.org%3E"
                        },
                        {
                            "name": "apacheapr-hash-dos(73096)",
                            "refsource": "XF",
                            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73096"
                        },
                        {
                            "name": "[oss-security] 20120208 CVE request: apr - Hash DoS vulnerability",
                            "refsource": "MLIST",
                            "url": "http://openwall.com/lists/oss-security/2012/02/08/3"
                        },
                        {
                            "name": "MDVSA-2012:019",
                            "refsource": "MANDRIVA",
                            "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:019"
                        },
                        {
                            "name": "47862",
                            "refsource": "SECUNIA",
                            "url": "http://secunia.com/advisories/47862"
                        },
                        {
                            "name": "http://svn.apache.org/viewvc?rev=1231605&view=rev",
                            "refsource": "CONFIRM",
                            "url": "http://svn.apache.org/viewvc?rev=1231605&view=rev"
                        },
                        {
                            "name": "[dev] 20120105 Hash collision vectors in APR?",
                            "refsource": "MLIST",
                            "url": "http://www.mail-archive.com/dev%40apr.apache.org/msg24439.html"
                        },
                        {
                            "name": "[dev] 20120113 Re: Hash collision vectors in APR?",
                            "refsource": "MLIST",
                            "url": "http://www.mail-archive.com/dev%40apr.apache.org/msg24472.html"
                        },
                        {
                            "name": "[oss-security] 20120208 Re: CVE request: apr - Hash DoS vulnerability",
                            "refsource": "MLIST",
                            "url": "http://openwall.com/lists/oss-security/2012/02/09/1"
                        },
                        {
                            "name": "[dev] 20120114 Re: Hash collision vectors in APR?",
                            "refsource": "MLIST",
                            "url": "http://www.mail-archive.com/dev%40apr.apache.org/msg24473.html"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-06T18:38:14.789Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "[apr-commits] 20120115 svn commit: r1231605 - /apr/apr/trunk/tables/apr_hash.c",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD%40eris.apache.org%3E"
                    },
                    {
                        "name": "apacheapr-hash-dos(73096)",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_XF",
                            "x_transferred"
                        ],
                        "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73096"
                    },
                    {
                        "name": "[oss-security] 20120208 CVE request: apr - Hash DoS vulnerability",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://openwall.com/lists/oss-security/2012/02/08/3"
                    },
                    {
                        "name": "MDVSA-2012:019",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_MANDRIVA",
                            "x_transferred"
                        ],
                        "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:019"
                    },
                    {
                        "name": "47862",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/47862"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://svn.apache.org/viewvc?rev=1231605&view=rev"
                    },
                    {
                        "name": "[dev] 20120105 Hash collision vectors in APR?",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.mail-archive.com/dev%40apr.apache.org/msg24439.html"
                    },
                    {
                        "name": "[dev] 20120113 Re: Hash collision vectors in APR?",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.mail-archive.com/dev%40apr.apache.org/msg24472.html"
                    },
                    {
                        "name": "[oss-security] 20120208 Re: CVE request: apr - Hash DoS vulnerability",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://openwall.com/lists/oss-security/2012/02/09/1"
                    },
                    {
                        "name": "[dev] 20120114 Re: Hash collision vectors in APR?",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.mail-archive.com/dev%40apr.apache.org/msg24473.html"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "cveId": "CVE-2012-0840",
        "datePublished": "2012-02-10T19:00:00",
        "dateReserved": "2012-01-19T00:00:00",
        "dateUpdated": "2024-08-06T18:38:14.789Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}