SecurityContext

CVE-2018-10184: HAProxy - Buffer Overflow

  • Cve: CVE-2018-10184
  • Name: HAProxy - Buffer Overflow
  • Description: An issue was discovered in HAProxy before 1.8.8. The incoming H2 frame length was checked against the max_frame_size setting instead of being checked against the bufsize. The max_frame_size only applies to outgoing traffic and not to incoming, so if a large enough frame size is advertised in the SETTINGS frame, a wrapped frame will be defragmented into a temporary allocated buffer where the second fragment may overflow the heap by up to 16 kB. It is very unlikely that this can be exploited for code execution given that buffers are very short lived and their addresses not realistically predictable in production, but the likelihood of an immediate crash is absolutely certain.
  • Impact: Attackers can cause a denial of service (crash) by triggering buffer overflow with crafted H2 frames.
  • Remediation: Update to HAProxy 1.8.8 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.08149
  • Epss percentile: 0.94988
  • Assignee: [email protected]
  • Published at: 2018-05-09T07:29:00Z
  • Age in days: 3121
  • Modified at: 2026-06-17T01:33:38Z
  • Patch available: yes
  • References total: 3
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-10184
  • Nvd status: modified
  • Checked, none or zero: 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
https://access.redhat.com/errata/RHSA-2018:1372Third Party Advisory
http://git.haproxy.org/?p=haproxy-1.8.git%3Ba=commit%3Bh=cd117685f0cff4f2f5577ef6a21eaae96ebd9f28
http://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=3f0e1ec70173593f4c2b3681b26c04a4ed5fc588

Products

ProductAffectedPlatform boundSourcesUrl
haproxy:haproxy< 1.8.8nonvd/v1/products/haproxy/haproxy
redhat:enterprise_linux= 7.5, = 7.4, = 7.3, = 7.0nonvd/v1/products/redhat/enterprise_linux

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