Advisory

UBUNTU-CVE-2021-40346

Also known as: CVE-2021-40346

Summary

The record has no summary.

Details

An integer overflow exists in HAProxy 2.0 through 2.5 in htx_add_header that can be exploited to perform an HTTP request smuggling attack, allowing an attacker to bypass all configured http-request HAProxy ACLs and possibly other ACLs.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2021-09-07 15:00 UTC
Modified
2026-02-04 04:27 UTC

Affected packages and fixes

haproxy

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.0.13-2ubuntu0.3 (ecosystem)

Fixed versions

2.0.13-2ubuntu0.3

Fix

  • Fixed version 2.0.13-2ubuntu0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

haproxy

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.2.9-2ubuntu2 (ecosystem)

Fixed versions

2.2.9-2ubuntu2

Fix

  • Fixed version 2.2.9-2ubuntu2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences