SecurityContext

CVE-2012-2942: HAProxy - Buffer Overflow

  • Cve: CVE-2012-2942
  • Name: HAProxy - Buffer Overflow
  • 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.
  • Impact: Attackers can cause denial of service or execute arbitrary code remotely, leading to system compromise.
  • Remediation: Update to HAProxy version 1.4.21 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.1
  • Cvss vector: CVSS:2.0/AV:N/AC:H/Au:N/C:P/I:P/A:P
  • Epss score: 0.05353
  • Epss percentile: 0.92838
  • Assignee: [email protected]
  • Published at: 2012-05-27T20:55:05Z
  • Age in days: 5294
  • Modified at: 2026-06-16T23:42:23Z
  • References total: 12
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-2942
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Same in every row:

  • Source: nvd
UrlTags
http://secunia.com/advisories/49261Vendor Advisory
http://haproxy.1wt.eu/#news
http://haproxy.1wt.eu/download/1.4/src/CHANGELOG
http://haproxy.1wt.eu/git?p=haproxy-1.4.git%3Ba=commit%3Bh=30297cb17147a8d339eb160226bcc08c91d9530b
http://security.gentoo.org/glsa/glsa-201301-02.xml
http://www.debian.org/security/2013/dsa-2711
http://www.openwall.com/lists/oss-security/2012/05/23/12
http://www.openwall.com/lists/oss-security/2012/05/23/15
http://www.openwall.com/lists/oss-security/2012/05/28/1
http://www.securityfocus.com/bid/53647

Products

ProductAffectedPlatform boundSourcesUrl
haproxy:haproxy<= 1.4.20nonvd/v1/products/haproxy/haproxy

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 289
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports