Back to CVE catalog
CVE-2012-2942

Buffer overflow in HAProxy

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

5.1Medium
Published:
Updated:
EPSS:
5.353%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:haproxyhaproxyAffected versions:
≤ 1.4.20
Vendor:Debianhaproxy
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.4.23-1
Vendor:Debianvim-haproxy
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1.4.23-1

1–3 of 3 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary5.1 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)5.1 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories17

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences