CVE-2012-2942

NameCVE-2012-2942
DescriptionBuffer 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-2711-1
Debian Bugs674447

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
haproxy (PTS)buster1.8.19-1+deb10u3fixed
buster (security)1.8.19-1+deb10u5fixed
bullseye (security), bullseye2.2.9-2+deb11u6fixed
bookworm, bookworm (security)2.6.12-1+deb12u1fixed
trixie2.9.5-1fixed
sid2.9.7-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
haproxysourcesqueeze1.4.8-1+squeeze1DSA-2711-1
haproxysource(unstable)1.4.23-1674447

Notes

According to upstream information this only was fixed in 1.4.21
only a issue if using non-default value for global.tune.bufsize configuration option
Reported as duplicate with CVE-2012-2391 http://seclists.org/oss-sec/2012/q2/417

Search for package or bug name: Reporting problems