Описание
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer one.
A flaw was found in the HAProxy. This issue can allow a buffer overflow via improper length checking when replacing multiple regex back-references in a string. Specifically, the replacement size is incorrectly validated against the output buffer instead of the temporary trash buffer used during substitution. If multiple matches are replaced with strings larger than the available buffer size, this can lead to a memory overwrite.
Отчет
Within regulated environments, a combination of the following controls acts as a significant barrier to successfully exploiting a CWE-1025: Comparison Using Wrong Factors vulnerability and therefore downgrades the severity of this particular CVE from Moderate to Low. Access is enforced through hard token-based multi-factor authentication (MFA) and is governed by least privilege, preventing manipulation of comparison logic to bypass authorization. Input validation ensures that comparison values, such as user IDs, tokens, and session data, conform to expected formats, reducing the risk of unauthorized access from malformed input. Error-handling routines prevent exposure of internal logic, and systems are designed to fail in a known state to avoid unpredictable behavior. Session authenticity is preserved through strong identity-to-session binding, minimizing logic errors in authentication flows. Additionally, runtime monitoring detects anomalous access and comparison failures, enabling rapid response.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Ceph Storage 5 | haproxy | Fix deferred | ||
| Red Hat Enterprise Linux 10 | haproxy | Fix deferred | ||
| Red Hat Enterprise Linux 7 | haproxy | Out of support scope | ||
| Red Hat Enterprise Linux 8 | haproxy | Not affected | ||
| Red Hat Enterprise Linux 9 | haproxy | Fix deferred | ||
| Red Hat OpenShift Container Platform 4 | haproxy | Fix deferred |
Показывать по
Дополнительная информация
Статус:
EPSS
6.8 Medium
CVSS3
Связанные уязвимости
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer one.
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer one.
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer one.
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a s ...
EPSS
6.8 Medium
CVSS3