{"id":"CVE-2012-2942","state":"PUBLISHED","title":"Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21, when global.tune.bufsize is set to a value greater than the default and header rew","description":"Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21, when global.tune.bufsize is set to a value greater than the default and header rewriting is enabled, allows remote attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors.","publishedAt":"2012-05-27T20:00:00.000Z","updatedAt":"2024-08-06T19:50:05.135Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.openwall.com/lists/oss-security/2012/05/28/1","http://security.gentoo.org/glsa/glsa-201301-02.xml","http://www.openwall.com/lists/oss-security/2012/05/23/15","https://exchange.xforce.ibmcloud.com/vulnerabilities/75777","http://www.securityfocus.com/bid/53647","http://haproxy.1wt.eu/#news","http://www.debian.org/security/2013/dsa-2711","http://secunia.com/advisories/49261","http://www.ubuntu.com/usn/USN-1800-1","http://haproxy.1wt.eu/git?p=haproxy-1.4.git%3Ba=commit%3Bh=30297cb17147a8d339eb160226bcc08c91d9530b","http://www.openwall.com/lists/oss-security/2012/05/23/12","http://haproxy.1wt.eu/download/1.4/src/CHANGELOG"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:19.239Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/2xxx/CVE-2012-2942.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-2942","state":"PUBLISHED","datePublished":"2012-05-27T20:00:00.000Z","dateUpdated":"2024-08-06T19:50:05.135Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2012-05-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21, when global.tune.bufsize is set to a value greater than the default and header rewriting is enabled, allows remote attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2012/05/28/1","name":"[oss-security] 20120528 Duplicate CVE identifiers (CVE-2012-2391 and CVE-2012-2942) assigned to HAProxy issue","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://security.gentoo.org/glsa/glsa-201301-02.xml","name":"GLSA-201301-02","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.openwall.com/lists/oss-security/2012/05/23/15","name":"[oss-security] 20120523 Re: CVE request: haproxy trash buffer overflow flaw","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75777","name":"haproxy-trash-bo(75777)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.securityfocus.com/bid/53647","name":"53647","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://haproxy.1wt.eu/#news","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2013/dsa-2711","name":"DSA-2711","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://secunia.com/advisories/49261","name":"49261","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.ubuntu.com/usn/USN-1800-1","name":"USN-1800-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://haproxy.1wt.eu/git?p=haproxy-1.4.git%3Ba=commit%3Bh=30297cb17147a8d339eb160226bcc08c91d9530b","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2012/05/23/12","name":"[oss-security] 20120523 CVE request: haproxy trash buffer overflow flaw","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://haproxy.1wt.eu/download/1.4/src/CHANGELOG","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2012-05-16T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-2942","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":"Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21, when global.tune.bufsize is set to a value greater than the default and header rewriting is enabled, allows remote attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20120528 Duplicate CVE identifiers (CVE-2012-2391 and CVE-2012-2942) assigned to HAProxy issue","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2012/05/28/1"},{"name":"GLSA-201301-02","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-201301-02.xml"},{"name":"[oss-security] 20120523 Re: CVE request: haproxy trash buffer overflow flaw","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2012/05/23/15"},{"name":"haproxy-trash-bo(75777)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75777"},{"name":"53647","refsource":"BID","url":"http://www.securityfocus.com/bid/53647"},{"name":"http://haproxy.1wt.eu/#news","refsource":"CONFIRM","url":"http://haproxy.1wt.eu/#news"},{"name":"DSA-2711","refsource":"DEBIAN","url":"http://www.debian.org/security/2013/dsa-2711"},{"name":"49261","refsource":"SECUNIA","url":"http://secunia.com/advisories/49261"},{"name":"USN-1800-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-1800-1"},{"name":"http://haproxy.1wt.eu/git?p=haproxy-1.4.git;a=commit;h=30297cb17147a8d339eb160226bcc08c91d9530b","refsource":"CONFIRM","url":"http://haproxy.1wt.eu/git?p=haproxy-1.4.git;a=commit;h=30297cb17147a8d339eb160226bcc08c91d9530b"},{"name":"[oss-security] 20120523 CVE request: haproxy trash buffer overflow flaw","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2012/05/23/12"},{"name":"http://haproxy.1wt.eu/download/1.4/src/CHANGELOG","refsource":"CONFIRM","url":"http://haproxy.1wt.eu/download/1.4/src/CHANGELOG"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2012/05/28/1","name":"[oss-security] 20120528 Duplicate CVE identifiers (CVE-2012-2391 and CVE-2012-2942) assigned to HAProxy issue","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-201301-02.xml","name":"GLSA-201301-02","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2012/05/23/15","name":"[oss-security] 20120523 Re: CVE request: haproxy trash buffer overflow flaw","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75777","name":"haproxy-trash-bo(75777)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/bid/53647","name":"53647","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://haproxy.1wt.eu/#news","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.debian.org/security/2013/dsa-2711","name":"DSA-2711","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://secunia.com/advisories/49261","name":"49261","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1800-1","name":"USN-1800-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://haproxy.1wt.eu/git?p=haproxy-1.4.git%3Ba=commit%3Bh=30297cb17147a8d339eb160226bcc08c91d9530b","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2012/05/23/12","name":"[oss-security] 20120523 CVE request: haproxy trash buffer overflow flaw","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://haproxy.1wt.eu/download/1.4/src/CHANGELOG","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T19:50:05.135Z"}}]}}}