Memory leak in HAProxy - CVE-2023-0836
Published: April 3, 2023
Vulnerability identifier: #VU74299
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-0836
CWE-ID: CWE-401
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to gain access to sensitive information.
The vulnerability exists due memory leak as there are 5 bytes left uninitialized in the connection buffer when encoding the FCGI_BEGIN_REQUEST record. A remote attacker can force the application to leak memory and disclose potentially sensitive data to configured FastCGI backends.
Affected software
HAProxy
Debian Linux
Oracle Linux
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
openEuler
Ubuntu
haproxy (Debian package)
haproxy
haproxy-debuginfo
haproxy-debugsource
haproxy-help
haproxy (Ubuntu package)
haproxy (Red Hat package)
Red Hat Ceph Storage
Debian Linux
Oracle Linux
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
openEuler
Ubuntu
haproxy (Debian package)
haproxy
haproxy-debuginfo
haproxy-debugsource
haproxy-help
haproxy (Ubuntu package)
haproxy (Red Hat package)
Red Hat Ceph Storage
How to mitigate CVE-2023-0836
Install updates from vendor's website.
HAProxy - addressed in versions 2.2.27, 2.4.21, 2.5.11, 2.6.8, 2.7.1
haproxy (Debian package) - update to 2.2.9-2+deb11u5
haproxy - addressed in versions 2.2.16-7, 2.6.6-8
haproxy-debuginfo - addressed in versions 2.2.16-7, 2.6.6-8
haproxy-debugsource - addressed in versions 2.2.16-7, 2.6.6-8
haproxy-help - addressed in versions 2.2.16-7, 2.6.6-8
haproxy (Ubuntu package) - addressed in versions 2.4.18-0ubuntu1.3, 2.4.18-1ubuntu1.3
haproxy (Red Hat package) - update to 2.4.22-1.el9
haproxy - update to 2.4.22-1.0.1
Red Hat Ceph Storage - update to 6.1
haproxy (Debian package) - update to 2.2.9-2+deb11u5
haproxy - addressed in versions 2.2.16-7, 2.6.6-8
haproxy-debuginfo - addressed in versions 2.2.16-7, 2.6.6-8
haproxy-debugsource - addressed in versions 2.2.16-7, 2.6.6-8
haproxy-help - addressed in versions 2.2.16-7, 2.6.6-8
haproxy (Ubuntu package) - addressed in versions 2.4.18-0ubuntu1.3, 2.4.18-1ubuntu1.3
haproxy (Red Hat package) - update to 2.4.22-1.el9
haproxy - update to 2.4.22-1.0.1
Red Hat Ceph Storage - update to 6.1
External References
Related Security Bulletins
- Multiple vulnerabilities in HAProxy
- Ubuntu update for haproxy
- Debian update for haproxy
- Red Hat Enterprise Linux 9 update for haproxy
- Multiple vulnerabilities in Oracle Linux
- Multiple vulnerabilities in Red Hat Ceph Storage 6.1
- openEuler update for haproxy
- openEuler 22.03 LTS SP1 update for haproxy
- openEuler 22.03 LTS SP2 update for haproxy
- Anolis OS update for haproxy