Moderate Vulnerability in haproxy: Untrimmed URI Fragments Leading to Data Exposure

haproxy Updated 02 Oct 2025

Summary

05/11/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:8849: Moderate: haproxy security update. Affects haproxy versions < 1.8.27-5.el8_10.1. Fixed in 1.8.27-5.el8_10.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

haproxy is a widely used open-source software that provides a reliable, high-performance network load balancer for TCP and HTTP-based applications. It is designed to distribute workloads across multiple servers, ensuring high availability and scalability. The software is critical for managing traffic and optimizing resource utilization in web applications. However, it is susceptible to security vulnerabilities that can compromise sensitive data.

Vulnerability Detail

The vulnerability identified as CVE-2023-45539 in haproxy arises from the mishandling of untrimmed URI fragments. This flaw may allow attackers to exploit static servers, potentially leading to the exposure of confidential data. The issue originates from the way haproxy processes URI fragments without proper validation, which can result in unintended data leakage. If exploited, this vulnerability could have serious ramifications for organizations relying on haproxy for secure data handling.

How To Fix

Minimum fixed version

1.8.27-5.el8_10.1

This is the first release that contains the fix.

sudo dnf update haproxy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can implement strict input validation on URI fragments to mitigate the risk of data exposure until the package is updated. This may involve configuring the web server to reject requests with untrimmed URI fragments.

Conclusion

The haproxy security update addresses a critical vulnerability that could lead to the exposure of confidential data. Users are strongly advised to update to the latest patched version to safeguard their applications. Additionally, implementing workarounds can help mitigate risks until the update is applied.

See every vulnerability recorded for haproxy →

Share this vulnerability

FAQ

CVE-2023-45539 is a security vulnerability in haproxy that allows for the exposure of confidential data due to untrimmed URI fragments.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Failing to address this vulnerability could lead to unauthorized access to sensitive data, potentially resulting in data breaches and loss of customer trust.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

If an immediate update is not possible, implement strict input validation on URI fragments as a temporary workaround to reduce the risk of data exposure.

Related vulnerabilities

Recent vulnerabilities recorded for haproxy.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.8.27-5.el8_10.1

This is the first release that contains the fix.

sudo dnf update haproxy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback