BIT-haproxy-2023-0836: Infoleak

Published Mar 29, 2023
·
Updated

An information leak vulnerability was discovered in HAProxy 2.1, 2.2 before 2.2.27, 2.3, 2.4 before 2.4.21, 2.5 before 2.5.11, 2.6 before 2.6.8, 2.7 before 2.7.1. There are 5 bytes left uninitialized in the connection buffer when encoding the FCGIBEGINREQUEST record. Sensitive data may be disclosed to configured FastCGI backends in an unexpected way.

Affected Software

1 affected component
HAProxy HAProxy=2.1, >=2.2<2.2.27, =2.3, >=2.4<2.4.21, >=2.5<2.5.11, >=2.6<2.6.8, >=2.7<2.7.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade HAProxy to a version that resolves this vulnerability.

    Fixed in 2.2.27
  2. Upgrade

    Upgrade HAProxy to a version that resolves this vulnerability.

    Fixed in 2.4.21
  3. Upgrade

    Upgrade HAProxy to a version that resolves this vulnerability.

    Fixed in 2.5.11
  4. Upgrade

    Upgrade HAProxy to a version that resolves this vulnerability.

    Fixed in 2.6.8
  5. Upgrade

    Upgrade HAProxy to a version that resolves this vulnerability.

    Fixed in 2.7.1

Event History

Mar 29, 2023
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Affected deployments are HAProxy instances in the listed vulnerable release lines that encode FCGI_BEGIN_REQUEST records for configured FastCGI backends. The disclosure is to those FastCGI backends.

2

Does exploitation require an authenticated user or user interaction?

No. The supplied vector indicates network access with low attack complexity, no privileges, and no user interaction.

3

What should be done to remediate the issue?

Upgrade to HAProxy 2.2.27, 2.4.21, 2.5.11, 2.6.8, or 2.7.1 or later within the applicable release line. HAProxy 2.1 and 2.3 are identified as affected, but no fixed versions for those branches are provided.

4

What is the impact of successful exploitation?

Five uninitialized bytes in a connection buffer can be disclosed while HAProxy encodes an FCGI_BEGIN_REQUEST record. The data may expose sensitive information to a configured FastCGI backend, with no stated integrity or availability impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203