OESA-2021-1333

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1333
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1333.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2021-1333
Upstream
Published
2021-09-03T11:03:10Z
Modified
2025-09-03T06:17:36.112781Z
Summary
haproxy security update
Details

HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for very high traffic web sites and powers quite a number of the world's most visited ones.

Security Fix(es):

An issue was discovered in HAProxy 2.2 before 2.2.16, 2.3 before 2.3.13, and 2.4 before 2.4.3. It does not ensure that the scheme and path portions of a URI have the expected characters. For example, the authority field (as observed on a target HTTP/2 server) might differ from what the routing rules were intended to achieve.(CVE-2021-39240)

An issue was discovered in HAProxy 2.0 before 2.0.24, 2.2 before 2.2.16, 2.3 before 2.3.13, and 2.4 before 2.4.3. An HTTP method name may contain a space followed by the name of a protected resource. It is possible that a server would interpret this as a request for that protected resource, such as in the "GET /admin? HTTP/1.1 /static/images HTTP/1.1" example.(CVE-2021-39241)

An issue was discovered in HAProxy 2.2 before 2.2.16, 2.3 before 2.3.13, and 2.4 before 2.4.3. It can lead to a situation with an attacker-controlled HTTP Host header, because a mismatch between Host and authority is mishandled.(CVE-2021-39242)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / haproxy

Package

Name
haproxy
Purl
pkg:rpm/openEuler/haproxy&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.16-1.oe1

Ecosystem specific

{
    "noarch": [
        "haproxy-help-2.2.16-1.oe1.noarch.rpm"
    ],
    "src": [
        "haproxy-2.2.16-1.oe1.src.rpm"
    ],
    "x86_64": [
        "haproxy-debuginfo-2.2.16-1.oe1.x86_64.rpm",
        "haproxy-debugsource-2.2.16-1.oe1.x86_64.rpm",
        "haproxy-2.2.16-1.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "haproxy-debuginfo-2.2.16-1.oe1.aarch64.rpm",
        "haproxy-debugsource-2.2.16-1.oe1.aarch64.rpm",
        "haproxy-2.2.16-1.oe1.aarch64.rpm"
    ]
}

openEuler:20.03-LTS-SP2 / haproxy

Package

Name
haproxy
Purl
pkg:rpm/openEuler/haproxy&distro=openEuler-20.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.16-1.oe1

Ecosystem specific

{
    "noarch": [
        "haproxy-help-2.2.16-1.oe1.noarch.rpm"
    ],
    "src": [
        "haproxy-2.2.16-1.oe1.src.rpm"
    ],
    "x86_64": [
        "haproxy-2.2.16-1.oe1.x86_64.rpm",
        "haproxy-debugsource-2.2.16-1.oe1.x86_64.rpm",
        "haproxy-debuginfo-2.2.16-1.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "haproxy-debuginfo-2.2.16-1.oe1.aarch64.rpm",
        "haproxy-debugsource-2.2.16-1.oe1.aarch64.rpm",
        "haproxy-2.2.16-1.oe1.aarch64.rpm"
    ]
}