{"id":"CVE-2012-2942","aliases":["DEBIAN-CVE-2012-2942","DSA-2711-1","EUVD-2012-2921","GHSA-m6hh-qxwf-f2wj"],"status":"published","title":"Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21,...","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.","severity":{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.05353,"percentile":0.9269,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2012-05-27T20:00:00Z","modified":"2026-10-23T17:47:41Z","fixes":[{"ecosystem":"Debian:12","package":"haproxy","fixed_in":["1.4.23-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"haproxy","fixed_in":["1.4.23-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"haproxy","fixed_in":["1.4.23-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"haproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.23-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"haproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.23-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"haproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.23-1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"haproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.8-1+squeeze1"}]}],"versions":["1.4.8-1"],"bundled":3}],"products":[{"vendor":"haproxy","product":"haproxy"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2012/05/28/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://security.gentoo.org/glsa/glsa-201301-02.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/05/23/15","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75777","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/53647","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://haproxy.1wt.eu/#news","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.debian.org/security/2013/dsa-2711","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/49261","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1800-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://haproxy.1wt.eu/git?p=haproxy-1.4.git%3Ba=commit%3Bh=30297cb17147a8d339eb160226bcc08c91d9530b","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/05/23/12","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://haproxy.1wt.eu/download/1.4/src/CHANGELOG","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2942"},{"url":"http://haproxy.1wt.eu/git?p=haproxy-1.4.git;a=commit;h=30297cb17147a8d339eb160226bcc08c91d9530b"},{"url":"https://github.com/advisories/GHSA-m6hh-qxwf-f2wj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-2942","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-2942","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.","status":"published","published":"2012-05-27T20:00:00Z","modified":"2024-08-06T19:50:05.135Z","updated_at":"2026-11-02T14:34:49.937255Z"}],"euvd":[{"id":"EUVD-2012-2921","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.","status":"published","published":"2012-05-27T20:00:00Z","modified":"2024-08-06T19:50:05Z","updated_at":"2026-11-03T01:56:12.847129Z"}],"ghsa":[{"id":"GHSA-m6hh-qxwf-f2wj","title":"Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21,...","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.","status":"published","published":"2022-05-17T01:45:02Z","modified":"2025-04-11T03:59:01Z","cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:11.088321Z"}],"nvd":[{"id":"CVE-2012-2942","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.","status":"published","published":"2012-05-27T20:55:05.017Z","modified":"2026-06-16T23:42:23.923Z","cvss":[{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:02:14.336529Z"}],"osv":[{"id":"CVE-2012-2942","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.","status":"published","published":"2012-05-27T20:55:05Z","modified":"2026-04-10T03:44:16.179422Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-2942","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.","status":"published","published":"2012-05-27T20:55:05.017Z","modified":"2026-10-23T17:47:41.04638366Z","updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"DSA-2711-1","title":"haproxy - several","status":"published","published":"2013-06-19T00:00:00Z","modified":"2026-03-09T01:20:18.301947Z","updated_at":"2026-11-02T15:46:15.489951Z"}]}}
