{"id":"UBUNTU-CVE-2021-40346","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.","modified":"2026-01-30T02:22:05.324280Z","published":"2021-09-07T15:00:00Z","related":["USN-5063-1"],"upstream":["CVE-2021-40346"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-40346"},{"type":"REPORT","url":"https://www.mail-archive.com/haproxy@formilux.org/msg41114.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5063-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-40346"}],"affected":[{"package":{"name":"haproxy","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/haproxy@2.0.13-2ubuntu0.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.13-2ubuntu0.3"}]}],"versions":["2.0.5-1","2.0.8-1","2.0.9-1","2.0.10-1","2.0.10-1ubuntu1","2.0.11-1ubuntu1","2.0.12-1ubuntu2","2.0.13-1ubuntu2","2.0.13-2","2.0.13-2ubuntu0.1","2.0.13-2ubuntu0.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"haproxy","binary_version":"2.0.13-2ubuntu0.3"},{"binary_name":"vim-haproxy","binary_version":"2.0.13-2ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40346.json"}},{"package":{"name":"haproxy","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/haproxy@2.2.9-2ubuntu2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.9-2ubuntu2"}]}],"ecosystem_specific":{"binaries":[{"binary_name":"haproxy","binary_version":"2.2.9-2ubuntu2"},{"binary_name":"vim-haproxy","binary_version":"2.2.9-2ubuntu2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40346.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}